/* ==========================================================================
   NEW ONE - Pianoro
   Direction: fresh-summer beach-club-in-the-hills. Airy light canvas, single
   pool-teal accent, light modern grotesque. Mobile-first (390px). Plain CSS.
   Palette derived from their one photo: white pergola, light wood, pool azure,
   hill green. Wood + green live IN the photo; the UI holds one accent only.
   ========================================================================== */

:root {
  --bg: #f4f8f8;            /* ice-white canvas (pergola + shade cloth) */
  --surface: #fdfefe;       /* near-white surface */
  --sage: #e8efea;          /* hill-green tinted neutral (section band) */
  --tint: #e6f1f2;          /* soft pool-teal tint (statement band) */
  --ink: #16262b;           /* deep teal-slate, off-black text */
  --muted: #566a6e;         /* secondary text */
  --accent: #0a7185;        /* pool teal - white text = 5.66:1 */
  --accent-deep: #075a6a;   /* hover */
  --line: rgba(22, 38, 43, 0.12);

  --font-display: "Schibsted Grotesk", -apple-system, "Segoe UI", sans-serif;
  --font-body: "Instrument Sans", -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --measure: 64ch;
  --edge: 1.35rem;          /* horizontal page gutter */
}

* { box-sizing: border-box; margin: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--accent); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h2 { font-size: clamp(1.75rem, 4.6vw, 2.7rem); }
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

p { max-width: var(--measure); }

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
}

/* -- buttons: full-pill everywhere (documented radius rule) --------------- */
.btn {
  display: inline-block;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  padding: 0.72rem 1.5rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  transition: transform 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}
.btn-primary { background: var(--accent); color: #ffffff; }
.btn-ghost { color: var(--ink); border-color: var(--line); background: transparent; }
@media (hover: hover) {
  .btn-primary:hover { background: var(--accent-deep); }
  .btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
}
.btn:active { transform: translateY(1px); }

/* -- top bar --------------------------------------------------------------- */
.topbar {
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
  padding: 0.85rem var(--edge);
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}
.topbar-cta {
  text-decoration: none;
  font-weight: 600; font-size: 0.9rem;
  color: #ffffff; background: var(--accent);
  padding: 0.42rem 1.1rem; border-radius: 999px;
  transition: background-color 0.18s ease;
}
@media (hover: hover) { .topbar-cta:hover { background: var(--accent-deep); } }

/* -- hero ------------------------------------------------------------------ */
.hero {
  max-width: 68rem; margin: 0 auto;
  padding: clamp(3.5rem, 11vh, 6rem) var(--edge) clamp(2.5rem, 7vh, 4rem);
}
.hero .eyebrow { display: block; margin-bottom: 1.1rem; }
.hero h1 {
  font-size: clamp(3.4rem, 17vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.94;
  margin-bottom: 1.4rem;
}
.hero-sub {
  color: var(--muted);
  font-size: clamp(1.1rem, 3.4vw, 1.3rem);
  line-height: 1.5;
  max-width: 34ch;
  margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* subtle entrance (MOTION 3: one gentle load-in, hover states otherwise) */
@media (prefers-reduced-motion: no-preference) {
  .hero > * { animation: rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both; }
  .hero .eyebrow { animation-delay: 0.02s; }
  .hero h1 { animation-delay: 0.08s; }
  .hero-sub { animation-delay: 0.16s; }
  .hero-actions { animation-delay: 0.24s; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

/* -- showcase (split: portrait photo + description) ------------------------ */
.showcase {
  max-width: 68rem; margin: 0 auto;
  padding: clamp(1.5rem, 4vh, 2.5rem) var(--edge) clamp(3rem, 8vh, 5rem);
  display: grid;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.showcase-photo { margin: 0; }
.showcase-photo img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -28px rgba(10, 113, 133, 0.45);
}
.showcase-text h2 { margin-bottom: 1rem; }
.showcase-text p { color: var(--muted); }

@media (min-width: 820px) {
  .showcase {
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(3rem, 6vw, 5rem);
  }
  .showcase-photo img { max-height: 82vh; width: auto; margin-inline: auto; }
}

/* -- section shells -------------------------------------------------------- */
.day, .facts, .statement, .info { padding: clamp(3rem, 8vh, 5.5rem) var(--edge); }
.day-inner, .info-grid, .facts, .statement-inner { max-width: 68rem; margin: 0 auto; }

/* -- la giornata (hairline vertical list on sage band) --------------------- */
.day { background: var(--sage); }
.day h2 { margin-bottom: 2rem; }
.day-list { list-style: none; padding: 0; }
.day-list li {
  display: grid;
  gap: 0.35rem 2.5rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}
.day-list li:last-child { border-bottom: 1px solid var(--line); }
.day-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.day-list p { color: var(--muted); max-width: 52ch; }
.day-note { margin-top: 1.8rem; color: var(--muted); font-size: 0.95rem; }

@media (min-width: 720px) {
  .day-list li { grid-template-columns: 12rem 1fr; align-items: baseline; }
}

/* -- buono a sapersi (grouped fact clusters, no boxes) --------------------- */
.facts h2 { margin-bottom: 2.4rem; }
.facts-grid { display: grid; gap: 2.2rem; }
.facts-col { padding-top: 1.1rem; border-top: 2px solid var(--accent); }
.facts-col h3 { margin-bottom: 0.6rem; }
.facts-col p { color: var(--muted); }
@media (min-width: 760px) {
  .facts-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }
}

/* -- statement (5 stars, honest, soft teal band) --------------------------- */
.statement { background: var(--tint); text-align: center; }
.statement-inner { max-width: 46rem; }
.rating {
  max-width: none;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--accent);
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}
.rating-num { font-size: 1.4em; font-weight: 700; }
.statement h2 { margin: 0 auto 1rem; }
.statement p { color: var(--muted); margin-inline: auto; max-width: 44ch; }

/* -- info (2 columns) ------------------------------------------------------ */
.info-grid { display: grid; gap: 2.8rem; }
.info h2 { margin-bottom: 1rem; }
.info p { color: var(--muted); }
.info-line { margin-top: 0.9rem; }
.info .btn { margin-top: 1.4rem; }
.info-phone {
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  font-size: 1.05rem;
}
@media (min-width: 720px) { .info-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* -- footer ---------------------------------------------------------------- */
.footer {
  padding: 3rem var(--edge) 3.5rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
  border-top: 1px solid var(--line);
}
.footer p { max-width: none; }
.footer-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 0.4rem;
}
.footer a { color: var(--accent); }
.demo-note { margin-top: 1rem; opacity: 0.72; font-size: 0.85rem; }
