/* ===========================================================
   Greenleaf Hotel & Resort — Services page
   =========================================================== */

   :root{
    --green-950:#0e1f16;
    --green-900:#14301f;
    --green-800:#1c4029;
    --green-700:#26522f;
  
    --cream:#f7f3ea;
    --cream-dim:#efe8d8;
    --ink:#1c1a15;
    --ink-soft:#54503f;
    --paper:#fffdf8;
  
    --gold-100:#f6e6b8;
    --gold-300:#e9c877;
    --gold-500:#c9a24a;
    --gold-600:#a9812f;
  
    --font-display:'Cormorant Garamond', serif;
    --font-body:'Jost', sans-serif;
    --ease:cubic-bezier(.16,.8,.3,1);
  }
  
  *,*::before,*::after{ box-sizing:border-box; }
  html{ scroll-behavior:smooth; }
  body{ margin:0; font-family:var(--font-body); color:var(--ink); background:var(--cream); -webkit-font-smoothing:antialiased; }
  img{ max-width:100%; display:block; }
  a{ color:inherit; text-decoration:none; }
  h1,h2,h3{ font-family:var(--font-display); font-weight:600; margin:0; }
  ul{ margin:0; padding:0; list-style:none; }
  button{ font-family:inherit; }
  
  @media (prefers-reduced-motion: reduce){
    *{ animation-duration:.001ms !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
  }
  
  /* ---------- shared ---------- */
  .eyebrow{ letter-spacing:.22em; text-transform:uppercase; font-size:.72rem; font-weight:500; color:var(--gold-300); margin:0 0 14px; }
  .eyebrow-dark{ color:var(--gold-600); }
  
  .btn{
    display:inline-flex; align-items:center; justify-content:center; gap:10px;
    padding:14px 30px; border-radius:2px; font-size:.84rem; font-weight:500; letter-spacing:.03em;
    border:1px solid transparent; cursor:pointer; text-decoration:none;
    transition:transform .35s var(--ease), box-shadow .35s var(--ease);
  }
  .btn-gold{ background:linear-gradient(180deg, var(--gold-300), var(--gold-500)); color:var(--green-950); }
  .btn-gold:hover{ transform:translateY(-2px); box-shadow:0 14px 26px -12px rgba(201,162,74,.55); }
  .btn-gold svg{ width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; transition:transform .3s ease; }
  .btn-gold:hover svg{ transform:translateX(3px); }
  
  .reveal{ opacity:0; transform:translateY(28px); transition:opacity .8s var(--ease), transform .8s var(--ease); }
  .reveal.in-view{ opacity:1; transform:translateY(0); }
  .reveal-fade{ opacity:0; transform:translateY(16px); transition:opacity .9s var(--ease) var(--d,0s), transform .9s var(--ease) var(--d,0s); }
  .reveal-fade.in-view{ opacity:1; transform:translateY(0); }
  
  .section-head{ max-width:640px; margin:0 auto; text-align:center; }
  .section-head h2{ font-size:clamp(2rem, 4vw, 2.7rem); color:var(--green-900); }
  .head-divider{ display:flex; align-items:center; justify-content:center; gap:8px; margin-top:18px; }
  .head-divider i{ width:26px; height:1px; background:var(--gold-500); }
  .head-divider b{ width:6px; height:6px; border-radius:50%; background:var(--gold-500); transform:rotate(45deg); }
  
  
  /* ===========================================================
     SECTION 1 — HERO
     =========================================================== */
  .s-hero{ position:relative; height:64vh; min-height:480px; display:flex; align-items:center; overflow:hidden; background:var(--green-950); }
  .s-hero-media{ position:absolute; inset:0; }
  .s-hero-media img{ width:100%; height:100%; object-fit:cover; transform:scale(1.1); animation:sHeroZoom 20s ease-out forwards; }
  @keyframes sHeroZoom{ to{ transform:scale(1); } }
  .s-hero-overlay{
    position:absolute; inset:0;
    background:linear-gradient(90deg, rgba(14,31,22,.94) 0%, rgba(14,31,22,.76) 38%, rgba(14,31,22,.22) 72%, rgba(14,31,22,.04) 100%);
  }
  .s-hero-content{ position:relative; z-index:2; max-width:620px; padding:70px 5vw 0; color:var(--cream); }
  .s-hero-title .line{ overflow:hidden; display:block; }
  .s-hero-title .line span{
    display:block; font-family:var(--font-display); font-size:clamp(2rem, 4.6vw, 3.2rem); font-weight:600;
    color:var(--cream); transform:translateY(112%); transition:transform 1s var(--ease);
  }
  .s-hero-title .line:nth-child(1) span{ transition-delay:.15s; }
  .s-hero-title .line:nth-child(2) span{ transition-delay:.3s; }
  .s-hero-title.in-view .line span{ transform:translateY(0); }
  .s-hero-rule{ display:block; width:60px; height:2px; background:var(--gold-500); margin:20px 0; }
  .s-hero-sub{ font-size:.98rem; line-height:1.7; color:rgba(247,243,234,.8); max-width:420px; font-weight:300; }
  
  /* ===========================================================
     SECTION 2 — SERVICES
     =========================================================== */
  .services-section{ background:var(--cream); padding:100px 5vw 110px; }
  
  .service-rows{ display:flex; flex-direction:column; gap:36px; max-width:1380px; margin:56px auto 0; }
  .service-row{
    display:grid; grid-template-columns:1fr 1.15fr; gap:0; align-items:stretch;
    border-radius:8px; overflow:hidden; box-shadow:0 24px 50px -32px rgba(20,48,31,.28);
  }
  .service-row.reverse{ grid-template-columns:1.15fr 1fr; }
  .service-row.reverse .service-media{ order:2; }
  .service-row.reverse .service-card{ order:1; }
  
  .service-media{ position:relative; overflow:hidden; min-height:280px; }
  .service-media img{ width:100%; height:100%; object-fit:cover; transition:transform .8s var(--ease); }
  .service-row:hover .service-media img{ transform:scale(1.06); }
  
  .service-card{ background:var(--paper); padding:44px 44px; display:flex; flex-direction:column; justify-content:center; }
  .service-icon{
    width:52px; height:52px; border-radius:50%; margin-bottom:18px;
    display:flex; align-items:center; justify-content:center; background:var(--green-900);
    transition:transform .35s var(--ease), background .35s ease;
  }
  .service-row:hover .service-icon{ background:var(--gold-500); transform:translateY(-3px); }
  .service-icon svg{ width:22px; height:22px; fill:none; stroke:var(--gold-300); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; transition:stroke .35s ease; }
  .service-row:hover .service-icon svg{ stroke:var(--green-950); }
  
  .service-card h3{ font-size:1.7rem; color:var(--green-900); margin-bottom:12px; }
  .service-rule{ display:block; width:44px; height:2px; background:var(--gold-500); margin-bottom:18px; }
  .service-card > p{ font-size:medium; line-height:1.7; color:var(--green-800); margin:0 0 26px; font-weight:bold; max-width:440px; }
  
  .service-feats{ display:grid; grid-template-columns:repeat(4, 1fr); gap:16px; padding-top:22px; border-top:1px dashed #ddd2b0; }
  .service-feats li{ display:flex; flex-direction:column; align-items:center; gap:8px; text-align:center; font-size:small; color:var(--green-900); line-height:1.35; }
  .service-feats svg{ width:22px; height:22px; fill:none; stroke:var(--gold-600); stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
  
  /* ===========================================================
     SECTION 3 — CTA BAR
     =========================================================== */
  .cta-bar{
    position:relative; overflow:hidden;
    background:var(--green-950);
    margin:0 5vw 100px; border-radius:8px;
    padding:40px 5vw;
    display:flex; align-items:center; justify-content:space-between; gap:28px; flex-wrap:wrap;
  }
  .cta-leaf{ position:absolute; right:-40px; top:50%; transform:translateY(-50%); width:260px; opacity:.06; pointer-events:none; }
  .cta-leaf svg{ width:100%; fill:none; stroke:var(--gold-300); stroke-width:2; }
  
  .cta-left{ display:flex; align-items:center; gap:20px; position:relative; z-index:1; }
  .cta-icon{
    width:56px; height:56px; flex:none; border-radius:50%; border:1.5px solid var(--gold-500);
    display:flex; align-items:center; justify-content:center;
  }
  .cta-icon svg{ width:22px; height:22px; fill:none; stroke:var(--gold-300); stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
  .cta-left h3{ color:var(--cream); font-size:1.4rem; line-height:1.3; }
  .cta-mid{ flex:1; min-width:220px; max-width:400px; font-size:.86rem; line-height:1.6; color:rgba(247,243,234,.65); margin:0; position:relative; z-index:1; font-weight:300; }
  
  /* ===========================================================
     BACK TO TOP
     =========================================================== */
  .back-to-top{
    position:fixed; right:26px; bottom:26px; z-index:90;
    width:46px; height:46px; border-radius:50%;
    background:var(--green-900); color:var(--gold-300); border:1px solid var(--gold-600);
    font-size:1.1rem; cursor:pointer; display:flex; align-items:center; justify-content:center;
    opacity:0; visibility:hidden; transform:translateY(10px);
    transition:opacity .35s ease, transform .35s ease, visibility .35s;
    box-shadow:0 12px 24px -12px rgba(0,0,0,.5);
  }
  .back-to-top.show{ opacity:1; visibility:visible; transform:translateY(0); }
  .back-to-top:hover{ background:var(--gold-500); color:var(--green-950); }
  
  /* ===========================================================
     RESPONSIVE
     =========================================================== */
  @media (max-width: 980px){
    .nav-cta{ display:none; }
    .nav-toggle{ display:flex; }
    .service-row, .service-row.reverse{ grid-template-columns:1fr; }
    .service-row .service-media, .service-row.reverse .service-media{ order:1; min-height:240px; }
    .service-row .service-card, .service-row.reverse .service-card{ order:2; }
    .service-feats{ grid-template-columns:1fr 1fr; }
  }
  @media (max-width: 720px){
    .services-section{ padding:80px 6vw 90px; }
    .service-card{ padding:34px 28px; }
    .cta-bar{ flex-direction:column; align-items:flex-start; margin:0 6vw 80px; }
  
    .main-nav{
      display:flex; flex-direction:column; align-items:stretch; justify-content:flex-start;
      gap:0; position:fixed; top:0; right:0; bottom:0; z-index:99;
      width:78%; max-width:340px;
      padding:110px 30px 40px;
      background:var(--green-950);
      overflow-y:auto;
      transform:translateX(100%);
      visibility:hidden;
      transition:transform .5s cubic-bezier(.16,.8,.3,1), visibility .5s, box-shadow .5s ease;
      box-shadow:
        -20px 0 50px -18px rgba(0,0,0,0),
        -100vw 0 0 100vw rgba(14,31,22,0);
    }
    .main-nav.open{
      transform:translateX(0);
      visibility:visible;
      box-shadow:
        -20px 0 50px -18px rgba(0,0,0,.5),
        -100vw 0 0 100vw rgba(14,31,22,.6);
    }
    .main-nav a{
      display:flex; align-items:center; gap:14px;
      width:100%; padding:16px 4px;
      border-bottom:1px solid rgba(247,243,234,.08);
      font-family:var(--font-display); font-size:1.15rem; font-weight:500;
      opacity:0; transform:translateX(24px);
      transition:opacity .4s ease, transform .4s ease, color .3s ease;
    }
    .main-nav a::after{ display:none; }
    .main-nav.open a{ opacity:1; transform:translateX(0); }
    .main-nav.open a:nth-child(1){ transition-delay:.1s; }
    .main-nav.open a:nth-child(2){ transition-delay:.16s; }
    .main-nav.open a:nth-child(3){ transition-delay:.22s; }
    .main-nav.open a:nth-child(4){ transition-delay:.28s; }
    .main-nav.open a:nth-child(5){ transition-delay:.34s; }
    .main-nav.open a:nth-child(6){ transition-delay:.4s; }
  }