/* Villa Augflor — subpages (matches index.html) */
:root {
  --cream: #f7f3ee;
  --sand: #e8dfd3;
  --accent: #3d7a8a;
  --accent-light: #5a9aaa;
  --accent-dark: #2d5f6d;
  --deep: #1c1a17;
  --muted: #7a7269;
  --white: #ffffff;
  --gold: #b8976a;
  /* aliases used by calendar script */
  --ivory: var(--cream);
  --bone: var(--cream);
  --ink: var(--deep);
  --ink-soft: var(--muted);
  --line: var(--sand);
  --forest: var(--accent-dark);
  --cognac: var(--accent);
  --green: var(--accent-dark);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', sans-serif;
  background: var(--cream);
  color: var(--deep);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}
.rustic-texture {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 180px 180px;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

/* Nav (index style, always scrolled on subpages) */
nav#nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(247,243,238,0.97);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}
.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: .04em;
  color: var(--deep);
  text-decoration: none;
}
.nav-links { display: flex; gap: 2rem; align-items: center; flex-wrap: wrap; }
.nav-links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color .3s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); }
.nav-cta {
  background: var(--accent) !important;
  color: var(--white) !important;
  padding: .5rem 1.25rem;
  border-radius: 2px;
  font-size: 12px !important;
  letter-spacing: .12em;
}
.nav-cta:hover { background: var(--accent-light) !important; color: var(--white) !important; }

main { padding-top: 5.5rem; }

.wrap {
  width: 100%;
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.wrap-sm { max-width: 760px; margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }

.page-hero {
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(2rem, 5vw, 3rem);
}
.eyebrow {
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}
h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: .75rem;
  max-width: 18ch;
}
h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: .5rem;
  max-width: 22ch;
}
h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 400;
  margin: .35rem 0 .5rem;
}
h4 { font-size: 14px; font-weight: 500; margin: 0 0 .5rem; color: var(--deep); }
.lead {
  font-size: 15px;
  color: var(--muted);
  max-width: 56ch;
  line-height: 1.65;
}
.note { font-size: 13px; color: var(--muted); max-width: 60ch; }

section.block { padding: clamp(3rem, 7vw, 5rem) 0; }
section.block.alt { background: var(--white); border-block: 1px solid var(--sand); }
section.block.tint { background: rgba(61,122,138,0.04); }

.grid { display: grid; gap: 1.25rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .65rem 1.35rem;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: .12em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid transparent;
  transition: background .2s, color .2s;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-light); color: var(--white); }
.btn-dark { background: var(--accent-dark); color: var(--white); }
.btn-dark:hover { background: var(--accent); color: var(--white); }
.btn-ghost { background: transparent; color: var(--deep); border-color: var(--sand); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-block { display: flex; width: 100%; text-align: center; }
.btn-lg { padding: .85rem 1.75rem; font-size: 13px; }

/* Area cards */
.area-card {
  background: var(--white);
  border: 1px solid var(--sand);
  padding: 1.5rem;
  border-radius: 2px;
}
.area-card .km {
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 400;
}
.area-card p { font-size: 13px; color: var(--muted); line-height: 1.55; margin: 0; }

/* Rate cards (index-style) */
.rate-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; }
.rate-card {
  border: 1px solid var(--sand);
  padding: 2rem;
  border-radius: 2px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  position: relative;
}
.rate-card.featured {
  border-color: var(--accent);
  background: rgba(61,122,138,0.04);
}
.rate-card .tag {
  position: absolute;
  top: -1px;
  right: 1.5rem;
  background: var(--accent);
  color: var(--white);
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: .3rem .75rem;
}
.rate-card h3 {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: 'Jost', sans-serif;
  font-weight: 400;
}
.rate-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  font-weight: 300;
  line-height: 1;
  margin: .5rem 0 .2rem;
}
.rate-price small { font-family: 'Jost', sans-serif; font-size: 13px; color: var(--accent); font-weight: 400; }
.rate-price-promo .rate-price-was {
  font-size: 26px;
  color: var(--muted);
  text-decoration: line-through;
  margin-right: .5rem;
  vertical-align: middle;
}
.rate-promo-save { color: var(--accent-dark); font-weight: 500; }
.rate-week { font-size: 13px; color: var(--accent); margin-bottom: .2rem; }
.rate-months { font-size: 13px; color: var(--muted); margin-bottom: 1rem; }
.rate-card ul { list-style: none; padding: 0; margin: 0 0 1.5rem; font-size: 13px; color: var(--muted); }
.rate-card ul li { padding: .4rem 0; border-bottom: 1px solid var(--sand); }
.rate-card .btn { margin-top: auto; }

/* Compare */
.compare-panel {
  background: var(--deep);
  color: rgba(255,255,255,0.85);
  padding: clamp(3rem, 7vw, 5rem) 0;
}
.compare-panel .eyebrow { color: var(--accent-light); }
.compare-panel h2 { color: var(--white); max-width: none; }
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 2rem; border: 1px solid rgba(255,255,255,0.1); }
.compare-col { padding: 2rem; }
.compare-col + .compare-col { border-left: 1px solid rgba(255,255,255,0.1); }
.compare-col.direct { background: rgba(61,122,138,0.15); }
.compare-col h3 { font-family: 'Jost', sans-serif; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.compare-col .price { font-family: 'Cormorant Garamond', serif; font-size: 2rem; color: var(--white); display: block; margin: .5rem 0; }
.compare-col ul { list-style: none; padding: 0; margin-top: 1rem; font-size: 13px; }
.compare-col li { padding: .35rem 0; border-bottom: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.65); }
.compare-save {
  margin-top: 1rem;
  padding: .75rem 1rem;
  background: var(--accent);
  color: var(--white);
  text-align: center;
  font-size: 13px;
  letter-spacing: .06em;
}
.cost-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 1.5rem; }
.cost-box {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 2px;
  font-size: 13px;
  line-height: 2;
}
.cost-box.highlight { background: rgba(61,122,138,0.06); border-color: var(--accent); }
.cost-save {
  margin-top: 1rem;
  padding: .75rem;
  background: var(--accent);
  color: var(--white);
  text-align: center;
  font-weight: 500;
  font-size: 13px;
}

/* Benefit / info cards */
.info-card {
  background: var(--white);
  border: 1px solid var(--sand);
  padding: 1.5rem;
  border-radius: 2px;
}
.info-card p { font-size: 13px; color: var(--muted); margin: 0; }
.info-card a { color: var(--accent); text-decoration: underline; }

/* Practical cards */
.obj-card {
  background: var(--white);
  border: 1px solid var(--sand);
  border-left: 3px solid var(--accent);
  padding: 1.5rem;
  border-radius: 2px;
}
.obj-card p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.55; }
.obj-card h3 { color: var(--accent-dark); }

/* Calendar */
.calendar {
  background: var(--white);
  border: 1px solid var(--sand);
  border-radius: 2px;
  padding: clamp(1.25rem, 3vw, 2rem);
}
.cal-months { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1rem; }
.cal-month { border: 1px solid var(--sand); padding: 1rem; border-radius: 2px; }
.cal-month h4 {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .75rem;
  color: var(--deep);
  font-family: 'Jost', sans-serif;
  font-weight: 400;
}
.cal-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-day {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  font-size: 11px;
  border-radius: 2px;
  background: var(--cream);
  color: var(--muted);
}
.cal-day.empty { background: transparent; }
.cal-day.booked { background: var(--sand); color: var(--muted); text-decoration: line-through; }
.cal-day.available { background: #c8dfe5; color: var(--accent-dark); font-weight: 500; }
.cal-legend { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.25rem; font-size: 12px; color: var(--muted); }
.cal-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.cal-legend i, .cal-swatch { width: 12px; height: 12px; border-radius: 2px; display: inline-block; }
.cal-swatch-open { background: #c8dfe5; }
.cal-swatch-booked { background: var(--sand); }
.cal-dow { font-size: .6rem; color: var(--muted); }

.flow p { font-size: 14px; color: var(--muted); margin-bottom: .6rem; }
.flow p strong { color: var(--deep); }

.list-plain { list-style: none; padding: 0; line-height: 2; font-size: 13px; color: var(--muted); }
.list-plain li::before { content: "· "; color: var(--accent); }

/* Footer (index) */
footer {
  background: #141210;
  padding: 3.5rem 2.5rem 2rem;
  color: rgba(255,255,255,0.4);
  margin-top: 2rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-logo { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 300; color: var(--white); margin-bottom: .75rem; }
.footer-tagline { font-size: 13px; line-height: 1.6; max-width: 260px; }
.footer-heading { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 1rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.4); text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  flex-wrap: wrap;
  gap: .5rem;
}

.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 200;
  width: 52px;
  height: 52px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform .25s;
}
.whatsapp-float:hover { transform: scale(1.08); color: var(--white); }
.whatsapp-float svg { width: 26px; height: 26px; }

@media (max-width: 900px) {
  nav#nav { padding: 1rem 1.25rem; }
  .nav-links { gap: 1rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .compare-grid, .cost-grid { grid-template-columns: 1fr; }
  .compare-col + .compare-col { border-left: 0; border-top: 1px solid rgba(255,255,255,0.1); }
}
@media (max-width: 600px) {
  .nav-links a:not(.nav-cta) { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
}
