/* styles.css */

/* =========================
   FONTS (Google Fonts)
   ========================= */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;600;700&family=Inter:wght@400;500;600;700;800;900&display=swap');

:root{
  --bg: #f6f1ea;
  --bg-2:#f1ebe3;

  --ink:#1f1d1a;

  --line:#e6ddd1;
  --line-2:#ded3c4;

  --accent:#c8a57b;
  --accent-2:#7faea0;
  --accent-3:#e6c1b1;

  --radius-lg: 26px;
  --radius-md: 18px;

  --shadow: 0 18px 50px rgba(31,29,26,.10);
  --shadow-soft: 0 12px 34px rgba(31,29,26,.08);

  --container: 1120px;

  --h1: clamp(30px, 4.6vw, 56px);
  --h2: clamp(22px, 3.0vw, 34px);
  --h3: 18px;
  --lead: clamp(16px, 2.05vw, 20px);

  --space-4: 24px;
  --space-5: 34px;
  --space-6: 48px;
  --space-7: 72px;

  --space-m-hero: 44px;
  --space-m: 54px;

  --font-sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-serif: "Playfair Display", ui-serif, serif;
}

:root::before{
  content:"";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(1100px 700px at 12% -10%, rgba(200,165,123,.18), transparent 55%),
    radial-gradient(900px 600px at 92% 5%, rgba(230,193,177,.18), transparent 55%),
    radial-gradient(1000px 700px at 80% 88%, rgba(127,174,160,.14), transparent 60%),
    linear-gradient(180deg, var(--bg), var(--bg-2));
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
html{ scroll-behavior: smooth; }

body{
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  line-height: 1.55;
  background: transparent;
}

a{ color: inherit; }
img{ max-width: 100%; display:block; }
svg{ display:block; }

.container{
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.no-scroll{ overflow: hidden; }

.skip-link{
  position: absolute;
  left: -999px;
  top: 12px;
  background: #fff;
  color: #000;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 9999;
}
.skip-link:focus{ left: 12px; }

/* Header */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246,241,234,.55);
  border-bottom: 1px solid rgba(230,221,209,.85);
  transition: background .2s ease, backdrop-filter .2s ease;
}
.site-header.is-scrolled{
  background: rgba(249, 247, 242, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content: space-between;
  padding: 12px 0;
  gap: 12px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  text-decoration: none;
  min-width: 220px;
}
.brand-mark{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(222,211,196,.9);
  box-shadow: 0 10px 24px rgba(31,29,26,.08);
  background:
    radial-gradient(circle at 30% 30%, rgba(200,165,123,.95), rgba(200,165,123,.18) 55%, transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(127,174,160,.55), transparent 55%),
    radial-gradient(circle at 70% 20%, rgba(230,193,177,.55), transparent 58%);
  display: grid;
  place-items: center;
}
.brand-mark img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display:block;
}
.brand-text{
  display:flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand-name{
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: .35px;
}
.brand-sub{
  font-size: 12px;
  color: rgba(31,29,26,.72);
  margin-top: 2px;
}

/* Nav */
.nav{ display:none; gap: 8px; align-items:center; }

.nav-toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(222,211,196,.95);
  background: rgba(255,255,255,.65);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(31,29,26,.06);
}
.nav-toggle-line{
  display:block;
  width: 18px;
  height: 2px;
  background: rgba(31,29,26,.78);
  border-radius: 99px;
  margin: 2px 0;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: 999px;
  text-decoration:none;
  border: 1px solid transparent;
  font-weight: 740;
  letter-spacing: .1px;
  cursor:pointer;
  user-select:none;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.btn:hover{ transform: translateY(-2px); }
.btn:active{ transform: translateY(1px); }

.btn--primary{
  background: rgba(200,165,123,.96);
  color: #231c12;
  border-color: rgba(200,165,123,.60);
  box-shadow: 0 14px 34px rgba(200,165,123,.20);
}
.btn--primary:hover{ background: rgba(200,165,123,1); }

.btn--outline{
  background: rgba(255,255,255,.72);
  border-color: rgba(222,211,196,.95);
  color: rgba(31,29,26,.92);
}
.btn--outline:hover{
  background: rgba(255,255,255,.95);
  border-color: rgba(200,165,123,.55);
}
.btn--sm{
  font-size: 13px;
  padding: 10px 14px;
}

/* Desktop nav items: styled “pills” */
.site-header .nav > a:not(.btn--primary){
  text-decoration: none;
  font-size: 13px;
  font-weight: 780;
  letter-spacing: .1px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(222,211,196,.95);
  background: rgba(255,255,255,.62);
  box-shadow: 0 10px 22px rgba(31,29,26,.06), inset 0 1px 0 rgba(255,255,255,.60);
  color: rgba(31,29,26,.90);
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.site-header .nav > a:not(.btn--primary):hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.92);
  border-color: rgba(200,165,123,.55);
  box-shadow: 0 14px 30px rgba(31,29,26,.10), inset 0 1px 0 rgba(255,255,255,.70);
}

/* Social links */
.social, .mobile-social{ display:flex; align-items:center; gap: 10px; }
.social-link{
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display:grid;
  place-items:center;
  border: 1px solid rgba(222,211,196,.95);
  background: rgba(255,255,255,.62);
  box-shadow: 0 10px 22px rgba(31,29,26,.06), inset 0 1px 0 rgba(255,255,255,.60);
  color: rgba(31,29,26,.78);
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.social-link svg{ width: 18px; height: 18px; }
.social-link:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.92);
  border-color: rgba(200,165,123,.55);
  color: rgba(31,29,26,.92);
  box-shadow: 0 14px 30px rgba(31,29,26,.10), inset 0 1px 0 rgba(255,255,255,.70);
}

/* Mobile Nav */
.mobile-nav{
  position: fixed;
  inset: 0;
  background: rgba(31,29,26,.42);
  backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
}
.mobile-nav.is-open{ opacity: 1; pointer-events: auto; }
.mobile-nav-inner{
  width: min(520px, calc(100% - 24px));
  margin: 84px auto 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(222,211,196,.95);
  background:
    radial-gradient(900px 380px at 15% 0%, rgba(230,193,177,.20), transparent 60%),
    radial-gradient(780px 420px at 95% 80%, rgba(127,174,160,.16), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.88), rgba(255,255,255,.72));
  box-shadow: 0 22px 70px rgba(31,29,26,.18);
  padding: 16px;
  display:grid;
  gap: 10px;
}
.mobile-nav-inner a{
  text-decoration: none;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(222,211,196,.85);
  background: rgba(255,255,255,.70);
  color: rgba(31,29,26,.86);
  font-weight: 700;
}

/* Hero */
.section{ padding: var(--space-m) 0; }
.hero{ padding-top: var(--space-m-hero); }
.hero-grid{ display:grid; gap: var(--space-6); align-items:start; }
.hero-copy{ max-width: 680px; }

.eyebrow{
  margin: 0 0 14px;
  color: rgba(200,165,123,.98);
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
  font-size: 12px;
}
.h1{
  font-family: var(--font-serif);
  font-size: var(--h1);
  line-height: 1.02;
  margin: 0 0 18px;
  letter-spacing: -0.8px;
  max-width: 12.5ch;
  text-wrap: balance;
}
.h1-line{ display:block; }
.lead{
  font-size: var(--lead);
  color: rgba(31,29,26,.84);
  margin: 0 0 var(--space-4);
  line-height: 1.7;
}
.hero-cta{ display:flex; flex-wrap: wrap; gap: 12px; margin-bottom: var(--space-4); }

.trust-row{ display:flex; flex-wrap: wrap; gap: 10px 16px; padding-top: 6px; }
.trust{ display:flex; align-items:center; gap: 10px; font-size: 13px; color: rgba(31,29,26,.70); }
.dot{ width: 8px; height: 8px; border-radius: 999px; background: rgba(200,165,123,.95); box-shadow: 0 0 0 6px rgba(200,165,123,.16); }
.dot--soft{ box-shadow: 0 0 0 6px rgba(127,174,160,.12); background: rgba(127,174,160,.65); }

.hero-visual{ justify-self: end; width: min(540px, 100%); display:grid; gap: 14px; }
.hero-photo{
  height: 220px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(222,211,196,.95);
  background: rgba(255,255,255,.65);
  box-shadow: var(--shadow-soft);
}
.hero-photo img{ width: 100%; height: 100%; object-fit: cover; display:block; }

.visual-card{
  position: relative;
  background:
    radial-gradient(800px 260px at 15% 10%, rgba(230,193,177,.18), transparent 60%),
    radial-gradient(900px 300px at 95% 85%, rgba(127,174,160,.14), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.84), rgba(255,255,255,.60));
  border: 1px solid rgba(222,211,196,.95);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 18px;
  overflow: hidden;
}
.visual-card-top{ display:flex; flex-wrap: wrap; gap: 10px; }
.pill{
  font-size: 12px;
  color: rgba(31,29,26,.78);
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(222,211,196,.95);
  padding: 8px 10px;
  border-radius: 999px;
}
.visual-card-mid{ display:grid; grid-template-columns: 1fr; gap: 12px; margin: 18px 0; }
.metric{ padding: 14px; border-radius: 16px; background: rgba(255,255,255,.76); border: 1px solid rgba(222,211,196,.95); }
.metric-label{ display:block; font-size: 12px; color: rgba(31,29,26,.62); margin-bottom: 6px; }
.metric-value{ font-weight: 780; letter-spacing: .1px; color: rgba(31,29,26,.92); }

/* General Typography */
.section-head{ margin-bottom: var(--space-5); }
.h2{ font-family: var(--font-serif); font-size: var(--h2); line-height: 1.15; margin: 0 0 14px; letter-spacing: -0.4px; }
.sub{ margin: 0; color: rgba(31,29,26,.78); font-size: 16px; line-height: 1.7; }
.h3{ font-size: var(--h3); margin: 0 0 10px; letter-spacing: -0.1px; }
.p{ margin: 0; color: rgba(31,29,26,.78); font-size: 15px; line-height: 1.7; }

/* Cards & Services */
.cards-grid{ display:grid; gap: 14px; }
.card{
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(222,211,196,.95);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 18px;
}

.icon{
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  background: rgba(31,29,26,.06);
  border: 1px solid rgba(222,211,196,.95);
  box-shadow: 0 14px 34px rgba(31,29,26,.10), inset 0 1px 0 rgba(255,255,255,.70);
  color: rgba(31,29,26,.74);
  transition: transform .25s ease, border-color .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
}
.icon::after{
  content:"";
  position:absolute;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  pointer-events:none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.35);
  opacity: .65;
}
.icon svg{ width: 24px; height: 24px; }
.icon path{ stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.85; }
.icon:hover{
  transform: translateY(-2px);
  background: rgba(31,29,26,.045);
  border-color: rgba(200,165,123,.70);
  color: rgba(31,29,26,.90);
  box-shadow: 0 18px 44px rgba(31,29,26,.12), inset 0 1px 0 rgba(255,255,255,.75);
}

/* Services Hover Effect */
#services .card{
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(0,0,0,0.05);
  background: rgba(255,255,255,.86);
  transition: transform .38s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow .38s cubic-bezier(0.165, 0.84, 0.44, 1), border-color .25s ease;
}
#services .card:hover{
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
  border-color: rgba(200,165,123,.35);
}
#services .card::before{
  content: "";
  position: absolute;
  right: 16px;
  top: 14px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 46px;
  line-height: 1;
  opacity: .12;
  color: rgba(31,29,26,1);
  pointer-events: none;
}
#services .card:nth-child(1)::before{ content:"01"; }
#services .card:nth-child(2)::before{ content:"02"; }
#services .card:nth-child(3)::before{ content:"03"; }
#services .card:nth-child(4)::before{ content:"04"; }

/* Services Callout */
.services-callout{
  margin-top: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(222,211,196,.95);
  background:
    radial-gradient(900px 280px at 12% 0%, rgba(230,193,177,.18), transparent 60%),
    radial-gradient(900px 320px at 95% 90%, rgba(127,174,160,.14), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.68));
  box-shadow: var(--shadow-soft);
  padding: 16px;
  display:flex;
  gap: 14px;
  align-items: flex-start;
}
.services-callout__title{
  margin: 0 0 6px;
  font-weight: 820;
  letter-spacing: -.1px;
  color: rgba(31,29,26,.92);
}
.services-callout__text{
  margin: 0 0 12px;
  color: rgba(31,29,26,.78);
  font-size: 15px;
  line-height: 1.7;
}
.services-callout__actions{ display:flex; flex-wrap: wrap; gap: 10px; }

/* About Grid */
.about-grid{ display:grid; gap: 14px; align-items: start; }
.about-copy .section-head{ margin-bottom: 0; }
.about-media{
  margin: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(222,211,196,.95);
  background: rgba(255,255,255,.70);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  min-height: 260px;
}
.about-media img{ width: 100%; height: 100%; object-fit: cover; display:block; }

/* Space */
.space-grid{ display:grid; gap: 14px; }
.space-col-left, .space-col-right { display: flex; flex-direction: column; gap: 14px; }

.space-main, .space-tile{
  margin: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(222,211,196,.95);
  background: rgba(255,255,255,.70);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.space-main img, .space-tile img{ width: 100%; height: 100%; object-fit: cover; display:block; }
.space-main{ min-height: 280px; }
.space-tile{ min-height: 160px; }
.space-notes{
  border-radius: var(--radius-lg);
  border: 1px solid rgba(222,211,196,.95);
  background: rgba(255,255,255,.70);
  box-shadow: var(--shadow-soft);
  padding: 16px;
}
.space-bullets{ margin: 0; padding: 0; list-style: none; display:grid; gap: 10px; color: rgba(31,29,26,.80); font-size: 14px; }
.space-bullets li{ display:flex; align-items:center; gap: 10px; }
#space .space-cta{ margin-top: 14px; }
#space .space-cta .btn{ font-size: 13px; padding: 10px 14px; }

/* Carousel / Education */
.carousel-wrapper { position: relative; width: 100%; }
.carousel-track {
  display: flex; gap: 16px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory;
  padding-bottom: 24px; margin-bottom: -24px; scrollbar-width: none; padding-left: 2px; padding-right: 2px;
}
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-card {
  flex: 0 0 85%; scroll-snap-align: start;
  background: rgba(255,255,255,.84);
  border: 1px solid rgba(222,211,196,.95);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 18px;
  display: flex; flex-direction: column; justify-content: flex-start; height: auto;
}
.carousel-dots { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 24px; padding-bottom: 4px; }
.carousel-dot {
  width: 10px; height: 10px; border-radius: 50%; background: rgba(31, 29, 26, 0.2); border: none; padding: 0;
  cursor: pointer; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); position: relative;
}
.carousel-dot.is-active { background: rgba(200,165,123, 1); transform: scale(1.3); box-shadow: 0 2px 6px rgba(200,165,123, 0.4); }

/* FAQ */
.faq{
  border-radius: var(--radius-lg);
  border: 1px solid rgba(222,211,196,.95);
  background: rgba(255,255,255,.66);
  overflow: hidden;
}
.faq summary{
  list-style: none; cursor: pointer; padding: 16px 44px 16px 16px;
  font-weight: 780; color: rgba(31,29,26,.94); position: relative;
}
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{
  content:"+"; position:absolute; right: 16px; top: 50%; transform: translateY(-50%);
  color: rgba(200,165,123,.98); font-weight: 900;
}
.faq[open] summary::after{ content:"–"; }
.faq-body{ padding: 0 16px 0; border-top: 0; }
.faq[open] .faq-body{ padding: 0 16px 16px; }

/* FAQ Layout */
.faq-wrap{ display: grid; gap: 14px; align-items: start; }
.faq-list{ display: grid; gap: 12px; }
.faq-media{
  margin: 0; border-radius: var(--radius-lg); border: 1px solid rgba(222,211,196,.95);
  background: rgba(255,255,255,.70); box-shadow: var(--shadow-soft); overflow: hidden; min-height: 260px;
}
.faq-media img{ width: 100%; height: 100%; object-fit: cover; display: block; }

/* Contact */
.contact-grid{ display:grid; gap: 14px; }
.contact-card, .map-card{
  border-radius: var(--radius-lg); border: 1px solid rgba(222,211,196,.95);
  background: rgba(255,255,255,.84); box-shadow: var(--shadow-soft);
}
.contact-card{ padding: 18px; }
.map-card{ overflow:hidden; min-height: 320px; }
.map-card iframe{ width: 100%; height: 100%; min-height: 320px; border: 0; display:block; filter: saturate(0.95) contrast(1.02); }

.contact-cover{
  border-radius: 20px; overflow: hidden; border: 1px solid rgba(222,211,196,.95);
  background: rgba(255,255,255,.60); box-shadow: 0 14px 34px rgba(31,29,26,.08);
  margin-bottom: 14px; height: 180px;
}
.contact-cover img{ width: 100%; height: 100%; object-fit: cover; display:block; }

.contact-item{ display:grid; gap: 6px; padding: 12px 0; border-top: 1px solid rgba(222,211,196,.75); }
.contact-item:first-of-type{ border-top: 0; padding-top: 6px; }
.contact-label{ color: rgba(31,29,26,.64); font-size: 12px; text-transform: uppercase; letter-spacing: .7px; }
.contact-value{ color: rgba(31,29,26,.92); font-size: 15px; }
.link{ text-decoration: none; border-bottom: 1px solid rgba(222,211,196,.95); width: fit-content; }
.link:hover{ border-bottom-color: rgba(200,165,123,.85); }
.divider{ height: 1px; background: rgba(222,211,196,.75); margin: 16px 0; }
.contact-social{ display:flex; flex-wrap: wrap; gap: 8px; }

/* Contact Form */
.contact-form{ display:grid; gap: 12px; margin-top: 10px; }
.field{ display:grid; gap: 6px; }
.field-label{ font-size: 12px; color: rgba(31,29,26,.72); text-transform: uppercase; letter-spacing: .7px; }
.input, .textarea{
  width: 100%; border-radius: 16px; border: 1px solid rgba(222,211,196,.95);
  background: rgba(255,255,255,.82); padding: 12px 12px; font: inherit; color: rgba(31,29,26,.92); outline: none;
}
.input:focus, .textarea:focus{ border-color: rgba(200,165,123,.70); box-shadow: 0 0 0 6px rgba(200,165,123,.16); }
.textarea{ resize: vertical; min-height: 120px; }
.form-actions{ display:flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.form-note{ margin: 6px 0 0; color: rgba(31,29,26,.62); font-size: 13px; line-height: 1.6; }
.form-status{ margin: 2px 0 0; font-size: 13px; color: rgba(31,29,26,.70); min-height: 18px; }

/* Contact Split Layout */
.contact-card--split{ padding: 18px; }
.contact-split{ display:block; }

/* Footer */
.footer{ margin-top: var(--space-6); padding: 26px 0; border-top: 1px solid rgba(230,221,209,.85); background: transparent; }
.footer-inner{ display:flex; flex-direction: column; gap: 10px; }
.fine{ margin: 0; font-size: 12px; color: rgba(31,29,26,.66); }
.footer-social{ display:flex; flex-wrap: wrap; align-items:center; gap: 10px; }

/* Fade-in */
.fade-in-section{ opacity: 0; transform: translateY(18px); transition: opacity .6s ease-out, transform .6s ease-out; will-change: opacity, transform; }
.fade-in-section.is-visible{ opacity: 1; transform: translateY(0); }
#services .card.fade-in-section:nth-child(1){ transition-delay: .10s; }
#services .card.fade-in-section:nth-child(2){ transition-delay: .20s; }
#services .card.fade-in-section:nth-child(3){ transition-delay: .30s; }

/* Back to Top */
.back-to-top{
  position: fixed; right: 18px; bottom: 18px; width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid rgba(222,211,196,.95); background: rgba(255,255,255,.78);
  box-shadow: 0 12px 28px rgba(31,29,26,.12); color: rgba(31,29,26,.86); font-weight: 900; line-height: 1;
  cursor: pointer; display: grid; place-items: center; z-index: 60;
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity .18s ease, transform .18s ease, background .2s ease, border-color .2s ease;
}
.back-to-top:hover{ background: rgba(255,255,255,.95); border-color: rgba(200,165,123,.55); }
.back-to-top.is-visible{ opacity: 1; pointer-events: auto; transform: translateY(0); }

/* Floating Buttons */
.floating-stack{ position: fixed; right: 18px; bottom: 76px; display: grid; gap: 10px; z-index: 61; }
.floating-btn{
  width: 48px; height: 48px; border-radius: 999px; display: grid; place-items: center;
  border: 1px solid rgba(222,211,196,.95); background: rgba(255,255,255,.82);
  box-shadow: 0 12px 28px rgba(31,29,26,.12); text-decoration: none;
  transition: transform .18s ease, background .2s ease, border-color .2s ease;
}
.floating-btn svg{ width: 20px; height: 20px; opacity: .9; }
.floating-btn:hover{ transform: translateY(-2px); background: rgba(255,255,255,.95); border-color: rgba(200,165,123,.55); }
.floating-btn--whatsapp{ background: rgba(127,174,160,.20); border-color: rgba(127,174,160,.35); }
.floating-btn--phone{ background: rgba(200,165,123,.18); border-color: rgba(200,165,123,.35); }
/* Tooltips */
.floating-btn[data-tooltip]{ position: relative; }
.floating-btn[data-tooltip]::after{
  content: attr(data-tooltip); position: absolute; right: 56px; top: 50%;
  transform: translateY(-50%) translateX(8px); opacity: 0; pointer-events: none;
  font-size: 12px; font-weight: 700; letter-spacing: .01em; color: rgba(31,29,26,.88);
  padding: 7px 10px; border-radius: 999px; border: 1px solid rgba(222,211,196,.95);
  background: rgba(255,255,255,.92); box-shadow: 0 14px 30px rgba(31,29,26,.14);
  transition: opacity .16s ease, transform .16s ease; white-space: nowrap;
}
.floating-btn[data-tooltip]:hover::after, .floating-btn[data-tooltip]:focus-visible::after, .floating-btn.is-tooltip-open::after{
  opacity: 1; transform: translateY(-50%) translateX(0);
}

/* Modal */
.contact-modal{ position: fixed; inset: 0; z-index: 95; display: none; }
.contact-modal.is-open{ display: block; }
.contact-modal__backdrop{ position: absolute; inset: 0; background: rgba(16, 15, 14, .42); backdrop-filter: blur(7px); }
.contact-modal__dialog{
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.98);
  width: min(520px, calc(100% - 32px)); border-radius: calc(var(--radius-lg) + 6px);
  border: 1px solid rgba(222,211,196,.95);
  background:
    radial-gradient(900px 260px at 12% 0%, rgba(230,193,177,.18), transparent 60%),
    radial-gradient(900px 320px at 95% 90%, rgba(127,174,160,.14), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78));
  box-shadow: 0 26px 70px rgba(16,15,14,.35); padding: 18px; opacity: 0;
}
.contact-modal.is-open .contact-modal__dialog{ animation: modalIn .22s ease forwards; }
@keyframes modalIn{ from{ opacity: 0; transform: translate(-50%, -48%) scale(.98); } to{ opacity: 1; transform: translate(-50%, -50%) scale(1); } }
.contact-modal__close{
  position: absolute; right: 12px; top: 10px; width: 38px; height: 38px; border-radius: 999px;
  border: 1px solid rgba(222,211,196,.95); background: rgba(255,255,255,.75);
  box-shadow: 0 12px 28px rgba(31,29,26,.10); color: rgba(31,29,26,.84); font-size: 22px; line-height: 1;
  cursor: pointer; display: grid; place-items: center; transition: transform .16s ease, background .2s ease, border-color .2s ease;
}
.contact-modal__close:hover{ transform: translateY(-1px); background: rgba(255,255,255,.92); border-color: rgba(200,165,123,.55); }
.contact-modal__title{ margin: 0 0 4px; font-family: var(--font-serif); font-weight: 700; letter-spacing: -.3px; color: rgba(31,29,26,.92); }
.contact-modal__desc{ margin: 0 0 14px; color: rgba(31,29,26,.75); font-size: 14.5px; line-height: 1.6; }
.contact-modal__actions{ display: grid; gap: 10px; }
.contact-choice{
  display: grid; grid-template-columns: 46px 1fr; gap: 12px; align-items: center; padding: 12px;
  border-radius: var(--radius-lg); text-decoration: none; border: 1px solid rgba(222,211,196,.95);
  background: rgba(255,255,255,.78); box-shadow: 0 14px 34px rgba(31,29,26,.10); color: rgba(31,29,26,.90);
  transition: transform .16s ease, background .2s ease, border-color .2s ease;
}
.contact-choice:hover{ transform: translateY(-2px); background: rgba(255,255,255,.92); border-color: rgba(200,165,123,.55); }
.contact-choice__icon{
  width: 46px; height: 46px; border-radius: 999px; display: grid; place-items: center;
  border: 1px solid rgba(222,211,196,.95); background: rgba(255,255,255,.80); overflow: hidden;
}
.contact-choice__icon svg{ width: 22px; height: 22px; opacity: 0; transform: translateY(6px) scale(.92); }
.contact-modal.is-open .contact-choice__icon svg{ animation: iconPop .38s cubic-bezier(.2,.9,.2,1) forwards; }
.contact-choice:nth-child(2) .contact-choice__icon svg{ animation-delay: .04s; }
.contact-choice:nth-child(3) .contact-choice__icon svg{ animation-delay: .08s; }
@keyframes iconPop{ from{ opacity: 0; transform: translateY(10px) scale(.88); } to{ opacity: .95; transform: translateY(0) scale(1); } }
.contact-choice__label{ display: block; font-weight: 850; letter-spacing: -.1px; }
.contact-choice__meta{ display: block; margin-top: 1px; font-size: 13px; color: rgba(31,29,26,.70); }
.contact-choice--whatsapp .contact-choice__icon{ border-color: rgba(127,174,160,.38); background: rgba(127,174,160,.18); }
.contact-choice--phone .contact-choice__icon{ border-color: rgba(200,165,123,.38); background: rgba(200,165,123,.16); }

/* Responsive */
@media (min-width: 860px){
  .floating-stack { display: none; }
  .nav{ display:flex; }
  .nav-toggle{ display:none; }
  .mobile-nav{ display:none; }
  .section{ padding: var(--space-7) 0; }
  .hero{ padding-top: calc(var(--space-7) - 20px); }
  .hero-grid{ grid-template-columns: 1.05fr .95fr; }
  .visual-card-mid{ grid-template-columns: 1fr 1fr; }
  .cards-grid{ grid-template-columns: repeat(3, 1fr); gap: 16px; }
  
  .contact-grid{ grid-template-columns: 1fr; gap: 16px; align-items: stretch; }
  .contact-card--split{ padding: 0; overflow: hidden; }
  .contact-split{ display:grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
  .contact-split-left, .contact-split-right{ padding: 18px; }
  .contact-split-left{ border-right: 1px solid rgba(222,211,196,.75); background: rgba(255,255,255,.84); }
  .contact-split-right{
    background:
      radial-gradient(900px 280px at 12% 0%, rgba(230,193,177,.16), transparent 60%),
      radial-gradient(900px 320px at 95% 90%, rgba(127,174,160,.12), transparent 60%),
      linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.72));
  }
  .contact-split-right .divider{ display:none; }

  .help-grid{ grid-template-columns: 1fr 1fr; gap: 16px; }
  
  /* Space Grid - Split 50-50 for clean Desktop look */
  .space-grid{ grid-template-columns: 1fr 1fr; gap: 16px; align-items: start; }
  
  /* 1440x1024 Ratio for Large Images */
  .space-main, .about-media {
    min-height: auto;
    aspect-ratio: 1440 / 1024; /* Desired 1440x1024 ratio */
    height: auto;
  }
  
  .space-tile{ min-height: 190px; }
  .contact-cover{ height: 210px; }
  .hero-photo{ height: 260px; }
  .footer-inner{ flex-direction: row; justify-content: space-between; align-items: center; }
  
  .about-grid{ grid-template-columns: 1.15fr .85fr; gap: 16px; align-items: stretch; }
  .faq-wrap{ grid-template-columns: 1fr .9fr; align-items: stretch; }
  .faq-media{ min-height: 360px; max-height: 520px; }
  .map-card{ min-height: 420px; }
  .map-card iframe{ min-height: 420px; }
  .carousel-card { flex: 0 0 calc((100% - 32px) / 3); }
}

@media (min-width: 900px){
  /* Keep Services 3 per row as intended in English layout */
}

@media (prefers-reduced-motion: reduce){
  *{ scroll-behavior: auto !important; transition: none !important; }
  #services .card, #services .card:hover{ transform: none !important; }
  .fade-in-section{ opacity: 1 !important; transform: none !important; }
  .back-to-top{ transform: none !important; }
}

.demo-bar{
  position: sticky; top: 0; z-index: 60; padding: 10px 14px; text-align: center;
  font-size: 12px; font-weight: 780; letter-spacing: .2px; color: rgba(31,29,26,.82);
  background: rgba(200,165,123,.14); border-bottom: 1px solid rgba(200,165,123,.30);
}
