:root{
  --navy: #0f2044;
  --navy-2: #16284f;
  --ink: #10203f;
  --text-muted: #5c6a80;
  --bg-soft: #eef3f6;
  --bg-panel: #e6edf2;
  --line: #e1e7ec;
  --white: #ffffff;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-soft: 0 20px 50px rgba(15,32,68,0.10);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html{scroll-behavior:smooth;}

body{
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--bg-soft);
  -webkit-font-smoothing:antialiased;
}

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

.container{
  width:100%;
  max-width:1280px;
  margin:0 auto;
  padding:0 32px;
  position:relative;
  z-index:1;
}

/* ---------- HEADER ---------- */
.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(255,255,255,0.85);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding-top:16px;
  padding-bottom:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  color:var(--ink);
  flex-shrink:0;
}

.brand-icon{
  width:38px;
  height:38px;
  border-radius:8px;
  background:var(--bg-panel);
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--navy);
  overflow:hidden;
}
.brand-icon svg{width:20px; height:20px;}
.brand-icon-img{width:100%; height:100%; object-fit:cover;}

.brand-text{display:flex; flex-direction:column; line-height:1.15;}
.brand-name{
  font-family:var(--font-display);
  font-weight:600;
  font-size:1.15rem;
  letter-spacing:0.02em;
  color:var(--navy);
}
.brand-sub{
  font-size:0.6rem;
  letter-spacing:0.14em;
  color:var(--text-muted);
  font-weight:500;
}

.main-nav{
  display:flex;
  align-items:center;
  gap:28px;
  flex:1;
  justify-content:center;
}

.main-nav a{
  text-decoration:none;
  color:var(--ink);
  font-size:0.92rem;
  font-weight:500;
  position:relative;
  padding:4px 0;
  white-space:nowrap;
}

.main-nav a.active,
.main-nav a:hover{color:var(--navy);}

.main-nav a.active::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-4px;
  height:2px;
  background:var(--navy);
  border-radius:2px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:none;
  cursor:pointer;
  font-family:var(--font-body);
  font-weight:600;
  font-size:0.95rem;
  padding:14px 26px;
  border-radius:10px;
  text-decoration:none;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.btn svg{
  width:18px;
  height:18px;
  flex-shrink:0;
}

.btn:hover{transform:translateY(-1px);}

.btn-dark{
  background:var(--navy);
  color:var(--white);
  box-shadow:0 10px 24px rgba(15,32,68,0.25);
}
.btn-dark:hover{background:var(--navy-2);}

.btn-outline{
  background:var(--white);
  color:var(--navy);
  border:1px solid var(--line);
}
.btn-outline:hover{border-color:var(--navy);}

.icon-wa{width:18px; height:18px;}

.btn-header{padding:12px 22px; font-size:0.9rem; flex-shrink:0;}

.nav-toggle{
  display:none;
  flex-direction:column;
  gap:5px;
  background:none;
  border:none;
  cursor:pointer;
  padding:6px;
}
.nav-toggle span{
  width:22px; height:2px; background:var(--navy); border-radius:2px;
}

/* ---------- HERO ---------- */
.hero{
  position:relative;
  overflow:hidden;
  min-height:calc(100vh - 78px);
  min-height:calc(100dvh - 78px);
  display:flex;
  align-items:center;
  padding:56px 0;
}

.hero-bg-shape{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 78% 40%, rgba(255,255,255,0.9) 0%, rgba(230,238,244,0.4) 45%, transparent 60%),
    linear-gradient(120deg, #eef3f6 0%, #e3ebf1 55%, #cfdce6 100%);
  z-index:0;
}

.hero-inner{
  position:relative;
  z-index:1;
  width:100%;
  display:grid;
  grid-template-columns:1.05fr 0.95fr;
  gap:40px;
  align-items:center;
}

.hero-content h1{
  font-family:var(--font-display);
  font-weight:500;
  font-size:clamp(2.4rem, 4.4vw, 3.6rem);
  line-height:1.12;
  color:var(--navy);
  letter-spacing:-0.01em;
  max-width:11ch;
}

.hero-subtitle{
  margin-top:22px;
  font-size:1.05rem;
  color:var(--text-muted);
  max-width:38ch;
  line-height:1.6;
}

.hero-actions{
  display:flex;
  gap:14px;
  margin-top:32px;
  flex-wrap:wrap;
}

.hero-features{
  list-style:none;
  margin-top:40px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:14px;
  max-width:520px;
}

.hero-features li{
  display:flex;
  align-items:center;
  gap:12px;
  background:rgba(255,255,255,0.55);
  border:1px solid rgba(255,255,255,0.6);
  padding:14px 16px;
  border-radius:12px;
  font-size:0.92rem;
  font-weight:500;
  color:var(--ink);
}

.feature-icon{
  width:34px; height:34px;
  border-radius:50%;
  background:var(--white);
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--navy);
  flex-shrink:0;
}
.feature-icon svg{width:17px; height:17px;}

.hero-media{
  position:relative;
  min-height:340px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}

.hero-img{
  width:100%;
  max-width:560px;
  height:auto;
  object-fit:contain;
  position:relative;
  z-index:1;
  filter:drop-shadow(0 20px 40px rgba(15,32,68,0.16));
}

/* ---------- SERVICIOS ---------- */
.services{
  position:relative;
  overflow:hidden;
  padding:90px 0 110px;
  background:var(--bg-soft);
}

.section-head{
  text-align:center;
  max-width:720px;
  margin:0 auto 56px;
}

.eyebrow{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  font-size:0.78rem;
  font-weight:600;
  letter-spacing:0.22em;
  color:var(--navy);
  margin-bottom:18px;
}
.eyebrow span{
  display:block;
  width:34px;
  height:1px;
  background:var(--navy);
  opacity:0.4;
}

.section-head h2{
  font-family:var(--font-display);
  font-weight:500;
  font-size:clamp(1.9rem, 3.4vw, 2.7rem);
  color:var(--navy);
  line-height:1.2;
}

.section-subtitle{
  margin-top:18px;
  color:var(--text-muted);
  font-size:1.02rem;
  line-height:1.65;
}

.services-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:28px;
}

.service-card{
  background:var(--white);
  border-radius:var(--radius-lg);
  overflow:hidden;
  border:1px solid var(--line);
  box-shadow:0 12px 30px rgba(15,32,68,0.06);
  transition:transform .18s ease, box-shadow .18s ease;
  display:flex;
  flex-direction:column;
}

.service-card:hover{
  transform:translateY(-4px);
  box-shadow:0 20px 40px rgba(15,32,68,0.12);
}

.service-media{
  position:relative;
  height:220px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:rgba(15,32,68,0.55);
  background:linear-gradient(150deg, #bfe3e6 0%, #9bcdd2 55%, #7cb9c0 100%);
  overflow:hidden;
}
.service-media svg{width:64px; height:64px; position:relative; z-index:1;}
.service-media-img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:2;
}

.service-media--clean{background:linear-gradient(150deg, #cfe9ec 0%, #a9d4d8 100%);}
.service-media--whiten{background:linear-gradient(150deg, #bfe6e8 0%, #8fc4c9 100%);}
.service-media--flex{background:linear-gradient(150deg, #a9d6da 0%, #79b3ba 100%);}
.service-media--implant{background:linear-gradient(150deg, #b7dee1 0%, #8ec2c7 100%);}
.service-media--restore{background:linear-gradient(150deg, #9fd0d5 0%, #6fabb3 100%);}
.service-media--consult{background:linear-gradient(150deg, #d6eef0 0%, #a7d3d7 100%);}

.service-body{
  padding:26px 28px 30px;
  display:flex;
  flex-direction:column;
  gap:14px;
  flex:1;
}

.service-title{
  display:flex;
  align-items:center;
  gap:14px;
}

.service-icon{
  width:42px; height:42px;
  border-radius:50%;
  background:var(--bg-panel);
  color:var(--navy);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.service-icon svg{width:19px; height:19px;}

.service-title h3{
  font-family:var(--font-display);
  font-weight:500;
  font-size:1.2rem;
  color:var(--ink);
}

.service-body p{
  color:var(--text-muted);
  font-size:0.94rem;
  line-height:1.6;
  flex:1;
}

.more-link{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--navy);
  text-decoration:none;
  font-weight:600;
  font-size:0.92rem;
  width:fit-content;
}
.more-link svg{width:15px; height:15px; transition:transform .15s ease;}
.more-link:hover svg{transform:translateX(3px);}

/* ---------- CONÓCENOS / ABOUT ---------- */
.about{
  position:relative;
  overflow:hidden;
  padding:100px 0 110px;
  background:var(--white);
}

.about-inner{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:64px;
  align-items:center;
}

.about-img-wrap{
  position:relative;
  border-radius:24px;
  overflow:hidden;
}

.about-img{
  width:100%;
  height:auto;
  display:block;
  border-radius:24px;
  aspect-ratio:600/640;
  object-fit:cover;
}

.about-badge{
  position:absolute;
  left:24px;
  bottom:24px;
  right:24px;
  max-width:400px;
  background:rgba(10,16,32,0.88);
  backdrop-filter:blur(6px);
  border-radius:16px;
  padding:16px 20px;
  display:flex;
  align-items:center;
  gap:14px;
}

.about-badge-icon{
  width:42px; height:42px;
  border-radius:50%;
  background:#fff;
  color:var(--navy);
  flex-shrink:0;
  display:flex;
  align-items:center;
  justify-content:center;
}
.about-badge-icon svg{width:19px; height:19px;}

.about-badge-text{
  display:flex;
  flex-direction:column;
  gap:2px;
  color:#fff;
}
.about-badge-text strong{
  font-size:0.98rem;
  font-weight:600;
}
.about-badge-text small{
  font-size:0.82rem;
  color:rgba(255,255,255,0.75);
  font-weight:400;
}

.eyebrow-left{
  justify-content:flex-start;
  margin-bottom:14px;
}
.eyebrow-left span{display:none;}

.about-content h2{
  font-family:var(--font-display);
  font-weight:500;
  font-size:clamp(2rem, 3.6vw, 2.9rem);
  color:var(--navy);
  line-height:1.2;
  max-width:12ch;
}

.about-text{
  margin-top:22px;
  color:var(--text-muted);
  font-size:1.03rem;
  line-height:1.7;
  max-width:46ch;
}

.about-list{
  list-style:none;
  margin-top:36px;
  display:flex;
  flex-direction:column;
  gap:26px;
}

.about-list li{
  display:flex;
  gap:18px;
  align-items:flex-start;
}

.about-icon{
  width:44px; height:44px;
  border-radius:50%;
  background:var(--bg-panel);
  color:var(--navy);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.about-icon svg{width:20px; height:20px;}

.about-list h3{
  font-family:var(--font-body);
  font-weight:600;
  font-size:1.04rem;
  color:var(--ink);
  margin-bottom:4px;
}

.about-list p{
  color:var(--text-muted);
  font-size:0.94rem;
  line-height:1.6;
  max-width:42ch;
}

/* ---------- ¿POR QUÉ ELEGIRNOS? ---------- */
.why{
  position:relative;
  background:#0a0d14;
  padding:100px 0 110px;
  overflow:hidden;
}

.why-grid-bg{
  position:absolute;
  inset:0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size:64px 64px;
  mask-image:radial-gradient(ellipse at center, rgba(0,0,0,0.9) 0%, transparent 75%);
  -webkit-mask-image:radial-gradient(ellipse at center, rgba(0,0,0,0.9) 0%, transparent 75%);
}

.section-head--dark{position:relative; z-index:1;}

.eyebrow--dark{color:#c9d3e0;}
.eyebrow--dark span{background:#c9d3e0; opacity:0.35;}

.why .section-head h2{color:#f5f7fa;}

.section-subtitle--dark{color:#9aa5b8;}

.why-cards{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:24px;
}

.why-card{
  background:rgba(255,255,255,0.03);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:18px;
  padding:34px 26px 38px;
}

.why-icon{
  width:64px; height:64px;
  border-radius:50%;
  background:radial-gradient(circle at 32% 28%, #ffffff 0%, #d7dee6 60%, #b9c3d0 100%);
  color:var(--navy);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:28px;
}
.why-icon svg{width:26px; height:26px;}

.why-card h3{
  font-family:var(--font-display);
  font-weight:500;
  font-size:1.3rem;
  color:#f5f7fa;
  margin-bottom:12px;
}

.why-card p{
  color:#9aa5b8;
  font-size:0.93rem;
  line-height:1.65;
}

/* ---------- GALERÍA ---------- */
.gallery{
  position:relative;
  overflow:hidden;
  padding:90px 0 110px;
  background:var(--white);
}

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:24px;
}

.gallery-item{
  position:relative;
  aspect-ratio:4/3;
  border-radius:18px;
  overflow:hidden;
  border:1px solid var(--line);
  display:flex;
  align-items:flex-end;
  padding:18px;
}

.gallery-item img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .35s ease;
}
.gallery-item:hover img{transform:scale(1.05);}

.gallery-item--lobby{background:linear-gradient(160deg, #dff0f2 0%, #a9d1d6 45%, #6fa9b3 100%);}
.gallery-item--lounge{background:linear-gradient(160deg, #e4f2ef 0%, #b4d8d2 45%, #7cb4ab 100%);}
.gallery-item--room{background:linear-gradient(160deg, #e6f0f5 0%, #b9d6e2 45%, #83aec2 100%);}
.gallery-item--closeup1{background:linear-gradient(160deg, #9fd6dd 0%, #4f9aa8 100%);}
.gallery-item--closeup2{background:linear-gradient(160deg, #cfe6ea 0%, #7fb0ba 100%);}
.gallery-item--closeup3{background:linear-gradient(160deg, #d8ecef 0%, #92bfc7 100%);}

.gallery-tag{
  position:relative;
  z-index:1;
  background:rgba(10,16,32,0.75);
  color:#fff;
  font-size:0.82rem;
  font-weight:500;
  padding:8px 14px;
  border-radius:8px;
  backdrop-filter:blur(4px);
}

/* ---------- TESTIMONIOS ---------- */
.testimonials{
  position:relative;
  overflow:hidden;
  padding:90px 0 110px;
  background:var(--bg-soft);
}

.testimonials-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:28px;
}

.testimonial-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:32px 30px 28px;
  display:flex;
  flex-direction:column;
  box-shadow:0 12px 30px rgba(15,32,68,0.05);
}

.quote-icon{
  width:44px; height:44px;
  border-radius:50%;
  background:radial-gradient(circle at 32% 28%, #ffffff 0%, #dbe3ea 70%, #c3ccd6 100%);
  color:var(--navy);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:22px;
}
.quote-icon svg{width:20px; height:20px;}

.testimonial-text{
  color:var(--ink);
  font-size:0.98rem;
  line-height:1.7;
  flex:1;
}

.testimonial-footer{
  display:flex;
  align-items:center;
  gap:14px;
  margin-top:26px;
  padding-top:22px;
  border-top:1px solid var(--line);
}

.avatar{
  width:42px; height:42px;
  border-radius:50%;
  background:radial-gradient(circle at 32% 28%, #f3f5f7 0%, #c7cfd8 70%, #9aa5b3 100%);
  color:var(--navy);
  font-family:var(--font-display);
  font-weight:600;
  font-size:1.05rem;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}

.testimonial-person{
  display:flex;
  flex-direction:column;
  line-height:1.35;
}
.testimonial-person strong{
  font-size:0.94rem;
  color:var(--ink);
  font-weight:600;
}
.testimonial-person small{
  font-size:0.82rem;
  color:var(--text-muted);
}

/* ---------- REDES SOCIALES ---------- */
.social{
  position:relative;
  overflow:hidden;
  padding:90px 0 110px;
  background:var(--bg-soft);
}

.social-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:24px;
}

.social-card{
  background:var(--white);
  border:1px solid var(--line);
  border-radius:var(--radius-lg);
  padding:30px 26px 28px;
  display:flex;
  flex-direction:column;
  box-shadow:0 12px 30px rgba(15,32,68,0.05);
  transition:transform .18s ease, box-shadow .18s ease;
}
.social-card:hover{
  transform:translateY(-4px);
  box-shadow:0 20px 40px rgba(15,32,68,0.12);
}

.social-icon{
  width:52px; height:52px;
  border-radius:50%;
  background:var(--white);
  border:1px solid var(--line);
  color:var(--navy);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:22px;
}
.social-icon svg{width:22px; height:22px;}

.social-card h3{
  font-family:var(--font-display);
  font-weight:500;
  font-size:1.25rem;
  color:var(--ink);
  margin-bottom:4px;
}

.social-handle{
  font-size:0.88rem;
  font-weight:600;
  color:var(--ink);
  margin-bottom:14px;
}

.social-desc{
  color:var(--text-muted);
  font-size:0.92rem;
  line-height:1.6;
  flex:1;
  margin-bottom:18px;
}

.social-card .more-link{margin-top:0;}

/* ---------- UBICACIÓN / CONTACTO ---------- */
.location{
  position:relative;
  overflow:hidden;
  padding:90px 0 110px;
  background:var(--white);
}

.location-grid{
  display:grid;
  grid-template-columns:0.85fr 1.15fr;
  gap:28px;
  align-items:stretch;
}

.location-info{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.info-card{
  display:flex;
  align-items:center;
  gap:16px;
  background:var(--bg-soft);
  border-radius:14px;
  padding:20px 22px;
}

.info-icon{
  width:42px; height:42px;
  border-radius:50%;
  background:var(--white);
  border:1px solid var(--line);
  color:var(--navy);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.info-icon svg{width:19px; height:19px;}

.info-label{
  font-size:0.72rem;
  font-weight:700;
  letter-spacing:0.1em;
  color:var(--text-muted);
  margin-bottom:6px;
}

.info-text{
  font-size:0.98rem;
  color:var(--ink);
  line-height:1.55;
}

.location-map{
  border-radius:20px;
  overflow:hidden;
  border:1px solid var(--line);
  min-height:420px;
}
.location-map iframe{
  width:100%;
  height:100%;
  display:block;
  min-height:420px;
}

/* ---------- FOOTER ---------- */
.site-footer{
  position:relative;
  overflow:hidden;
  background:#0a0d14;
  padding-top:72px;
}

.footer-inner{
  display:grid;
  grid-template-columns:1.4fr 1fr 1fr 1.3fr;
  gap:40px;
  padding-bottom:56px;
}

.footer-brand{
  color:#fff;
  margin-bottom:20px;
}

.footer-brand-icon{
  background:rgba(255,255,255,0.08);
  color:#fff;
}

.footer-brand-name{color:#fff;}
.footer-brand-sub{color:#9aa5b8;}

.footer-desc{
  color:#9aa5b8;
  font-size:0.92rem;
  line-height:1.65;
  max-width:34ch;
  margin-bottom:24px;
}

.footer-social{
  display:flex;
  gap:12px;
}

.footer-social a{
  width:38px; height:38px;
  border-radius:50%;
  background:rgba(255,255,255,0.06);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background .15s ease;
}
.footer-social a:hover{background:rgba(255,255,255,0.16);}
.footer-social svg{width:17px; height:17px;}

.footer-col h4{
  font-family:var(--font-display);
  font-weight:500;
  font-size:1.15rem;
  color:#fff;
  margin-bottom:22px;
}

.footer-col ul{
  list-style:none;
  display:flex;
  flex-direction:column;
  gap:14px;
}

.footer-col ul a{
  color:#9aa5b8;
  text-decoration:none;
  font-size:0.92rem;
  transition:color .15s ease;
}
.footer-col ul a:hover{color:#fff;}

.footer-contact-list li{
  display:flex;
  align-items:flex-start;
  gap:12px;
  color:#9aa5b8;
  font-size:0.9rem;
  line-height:1.5;
}
.footer-contact-list svg{
  width:17px; height:17px;
  flex-shrink:0;
  margin-top:2px;
  color:#c7a86b;
}

.footer-bottom{
  border-top:1px solid rgba(255,255,255,0.08);
}

.footer-bottom-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:22px 32px;
  color:#7f8aa0;
  font-size:0.85rem;
  flex-wrap:wrap;
  gap:8px;
}

/* ---------- CANVAS DE NODOS (fondo animado) ---------- */
.nodes-bg-canvas{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  z-index:0;
  pointer-events:none;
}

/* ---------- MODAL DE SERVICIO (Más información) ---------- */
.modal-service{
  max-width:480px;
}

.service-modal-media{
  margin-top:18px;
  border-radius:14px;
  overflow:hidden;
  aspect-ratio:16/10;
  background:linear-gradient(150deg, #bfe3e6 0%, #9bcdd2 55%, #7cb9c0 100%);
}

.service-modal-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

#serviceModalText{
  margin-top:18px;
  margin-bottom:24px;
}

.service-modal-actions{
  display:flex;
  flex-direction:column;
  gap:12px;
}

/* ---------- WHATSAPP FLOTANTE ---------- */
.wa-float{
  position:fixed;
  right:28px;
  bottom:28px;
  width:56px; height:56px;
  border-radius:50%;
  background:var(--navy);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  box-shadow:0 14px 30px rgba(15,32,68,0.35);
  z-index:200;
  transition:transform .15s ease;
}
.wa-float:hover{transform:scale(1.06);}
.wa-float svg{width:26px; height:26px;}

/* ---------- MODAL ---------- */
.modal-overlay{
  position:fixed;
  inset:0;
  background:rgba(10,18,36,0.55);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:300;
  padding:20px;
}
.modal-overlay.open{display:flex;}

.modal{
  background:var(--white);
  border-radius:20px;
  width:100%;
  max-width:460px;
  max-height:88vh;
  overflow-y:auto;
  padding:32px;
  box-shadow:var(--shadow-soft);
  animation:modalIn .18s ease;
}

@keyframes modalIn{
  from{opacity:0; transform:translateY(10px) scale(0.98);}
  to{opacity:1; transform:translateY(0) scale(1);}
}

.modal-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.modal-header h2{
  font-family:var(--font-display);
  font-weight:600;
  font-size:1.7rem;
  color:var(--navy);
}

.modal-close{
  background:none;
  border:none;
  cursor:pointer;
  color:var(--navy);
  padding:4px;
}
.modal-close svg{width:20px; height:20px;}

.modal-subtitle{
  color:var(--text-muted);
  font-size:0.95rem;
  margin-top:6px;
  margin-bottom:22px;
}

.calendar-nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:16px;
}

.cal-month{
  font-family:var(--font-display);
  font-weight:500;
  font-size:1.15rem;
  color:var(--ink);
}

.cal-arrow{
  background:none;
  border:none;
  cursor:pointer;
  color:var(--navy);
  padding:6px;
  border-radius:8px;
  display:flex;
}
.cal-arrow:hover{background:var(--bg-panel);}
.cal-arrow:disabled{color:#c7cfd8; cursor:default;}
.cal-arrow:disabled:hover{background:none;}
.cal-arrow svg{width:18px; height:18px;}

.calendar-weekdays{
  display:grid;
  grid-template-columns:repeat(7, 1fr);
  text-align:center;
  font-size:0.72rem;
  letter-spacing:0.04em;
  color:var(--text-muted);
  font-weight:600;
  margin-bottom:14px;
}

.calendar-grid{
  display:grid;
  grid-template-columns:repeat(7, 1fr);
  row-gap:14px;
  column-gap:4px;
  margin-bottom:30px;
}

.cal-day{
  aspect-ratio:1/1;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  font-size:0.92rem;
  font-weight:400;
  color:var(--ink);
  background:transparent;
  border:1.5px solid transparent;
  cursor:pointer;
  transition:background .12s ease, color .12s ease, border-color .12s ease;
}

.cal-day:hover:not(.disabled):not(.selected){background:var(--bg-panel);}

.cal-day.disabled{
  color:#cdd4dc;
  cursor:default;
}

.cal-day.today{
  border-color:#a9c6de;
  font-weight:500;
}

.cal-day.selected{
  background:var(--navy);
  color:#fff;
  border-color:var(--navy);
  font-weight:500;
}

.cal-day.empty{visibility:hidden;}

.btn-block{width:100%;}



/* ---------- CRÉDITO KROM DIGITAL ---------- */
.krom-credit{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:14.5px;
  font-weight:600;
  color:#c7cfd8;
  text-decoration:none;
  letter-spacing:.5px;
  transition:.35s ease;
  position:relative;
}
.krom-credit i{
  font-size:13px;
  transition:.35s ease;
}
.krom-credit::after{
  content:"";
  position:absolute;
  bottom:-4px;
  left:0;
  width:0;
  height:1.5px;
  background:#7cb9c0;
  transition:.35s ease;
}
.krom-credit:hover{
  color:#7cb9c0;
  letter-spacing:1.5px;
}
.krom-credit:hover i{
  transform:rotate(15deg) scale(1.15);
}
.krom-credit:hover::after{
  width:100%;
}






/* ---------- RESPONSIVE ---------- */
@media (max-width:960px){
  .main-nav{
    position:fixed;
    top:76px;
    left:0; right:0;
    background:#fff;
    flex-direction:column;
    padding:20px 32px;
    gap:16px;
    border-bottom:1px solid var(--line);
    transform:translateY(-130%);
    transition:transform .25s ease;
    justify-content:flex-start;
  }
  .main-nav.open{transform:translateY(0);}
  .nav-toggle{display:flex;}
  .btn-header{display:none;}
  .hero-inner{grid-template-columns:1fr;}
  .hero-media{order:-1; min-height:260px;}
  .hero-features{grid-template-columns:1fr 1fr; max-width:none;}
  .services-grid{grid-template-columns:1fr 1fr;}
  .about-inner{grid-template-columns:1fr; gap:40px;}
  .why-cards{grid-template-columns:1fr 1fr;}
  .gallery-grid{grid-template-columns:1fr 1fr;}
  .testimonials-grid{grid-template-columns:1fr;}
  .social-grid{grid-template-columns:1fr 1fr;}
  .location-grid{grid-template-columns:1fr; gap:32px;}
  .location-map{min-height:340px;}
  .location-map iframe{min-height:340px;}
  .footer-inner{grid-template-columns:1fr 1fr; gap:40px 32px;}
  .footer-brand-col{grid-column:1 / -1;}
}

@media (max-width:560px){
  .container{padding:0 20px;}
  .hero{padding:40px 0; min-height:calc(100vh - 68px); min-height:calc(100dvh - 68px);}
  .hero-features{grid-template-columns:1fr;}
  .hero-actions{flex-direction:column; align-items:stretch;}
  .modal{padding:24px;}
  .services-grid{grid-template-columns:1fr;}
  .services{padding:64px 0 72px;}
  .about{padding:60px 0 70px;}
  .about-badge{
    position:static;
    margin-top:16px;
    max-width:none;
  }
  .why-cards{grid-template-columns:1fr;}
  .why{padding:64px 0 72px;}
  .gallery-grid{grid-template-columns:1fr;}
  .gallery{padding:64px 0 72px;}
  .testimonials{padding:64px 0 72px;}
  .social-grid{grid-template-columns:1fr;}
  .social{padding:64px 0 72px;}
  .location{padding:64px 0 72px;}
  .footer-inner{grid-template-columns:1fr; gap:36px; padding-bottom:40px;}
  .footer-bottom-inner{flex-direction:column; align-items:flex-start; text-align:left;}
}