
:root{
  --background: 0 0% 100%;
  --foreground: 240 10% 15%;

  --card: 0 0% 100%;
  --card-foreground: 240 10% 15%;

  --primary: 303 71% 55%;
  --primary-foreground: 0 0% 100%;

  --secondary: 165 64% 68%;
  --secondary-foreground: 240 10% 15%;

  --muted: 165 30% 95%;
  --muted-foreground: 240 5% 45%;

  --accent: 303 50% 95%;
  --accent-foreground: 303 71% 40%;

  --border: 165 20% 88%;
  --ring: 303 71% 55%;

  --radius: 1rem;

  --gradient-primary: linear-gradient(135deg, hsl(303 71% 55%), hsl(165 64% 68%));
  --gradient-hero: linear-gradient(180deg, hsl(303 71% 97%), hsl(165 64% 95%));

  --shadow-soft: 0 4px 20px -4px hsl(303 71% 55% / 0.15);
  --shadow-card: 0 8px 30px -8px hsl(165 64% 68% / 0.2);
  --shadow-elevated: 0 20px 50px -15px hsl(303 71% 55% / 0.25);

  --container: 1160px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: hsl(var(--foreground));
  background: hsl(var(--background));
}

.container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}

.bg-background{ background: hsl(var(--background)); }

.gradient-primary{ background: var(--gradient-primary); }
.gradient-hero{ background: var(--gradient-hero); }

.gradient-text{
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.card{
  background: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: calc(var(--radius) + 0.25rem);
  box-shadow: var(--shadow-card);
}

.muted{ color: hsl(var(--muted-foreground)); }
.small{ font-size: 0.92rem; }
.center{ text-align: center; }

.section{ padding: 80px 0; }
.text-center{ text-align: center; }

.h2{
  margin: 12px 0 10px;
  font-size: clamp(1.9rem, 2.8vw, 2.35rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.h3{
  margin: 10px 0 6px;
  font-size: 1.2rem;
  line-height: 1.25;
}
.h4{
  margin: 0 0 6px;
  font-size: 1.05rem;
  line-height: 1.25;
}
.lead{ font-size: 1.05rem; }

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
  user-select: none;
  transition: transform .12s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease, opacity .18s ease;
  color: hsl(var(--foreground));
  background: transparent;
}
.btn:hover{ transform: translateY(-1px); }
.btn:active{ transform: translateY(0); opacity: 0.95; }

.btn-primary{
  background: #55f7789a;
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}
.btn-primary:hover{ box-shadow: var(--shadow-elevated); }

.btn-outline{
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
  background: transparent;
}
.btn-outline:hover{
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

.btn-lg{ padding: 14px 22px; font-size: 1.05rem; }
.btn-block{ width: 100%; }

.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: #7c4aa573;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid hsl(var(--border));
}
.header-inner{
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-width: 220px;
}
.brand-mark{
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: url("./assets/logo1.png") center/contain no-repeat;
  box-shadow: var(--shadow-soft);
  flex: 0 0 auto;
}
.brand-name{
  display: none;
  font-weight: 950;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
  color: hsl(var(--foreground));
}
@media (min-width: 560px){
  .brand-name{ display: block; }
}
@media (min-width: 1024px){
  .brand-name{ font-size: 1.12rem; }
}

.nav-desktop{
  display: none;
  align-items: center;
  gap: 28px;
}
@media (min-width: 1024px){
  .nav-desktop{ display: flex; }
}

.nav-link{
  text-decoration: none;
  color: hsl(var(--foreground) / 0.80);
  font-weight: 650;
  transition: color .15s ease;
}
.nav-link:hover{ color: hsl(var(--primary)); }

.header-cta{
  display: none;
  align-items: center;
  gap: 16px;
}
@media (min-width: 1024px){
  .header-cta{ display: flex; }
}

.phone-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: hsl(var(--primary));
  font-weight: 800;
}

.menu-button{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--background));
  cursor: pointer;
}
@media (min-width: 1024px){
  .menu-button{ display: none; }
}

.nav-mobile{
  border-top: 1px solid hsl(var(--border));
  padding: 14px 0 20px;
  animation: fadeIn .25s ease both;
}
.nav-mobile-inner{
  display: grid;
  gap: 12px;
}

.hero{
  padding-top: 96px;
  min-height: 100vh;
  position: relative;
  overflow: hidden;
}
.hero-grid{
  padding: 64px 16px 74px;
  display: grid;
  gap: 44px;
  align-items: center;
}
@media (min-width: 1024px){
  .hero-grid{ grid-template-columns: 1.1fr 0.9fr; padding: 86px 16px 90px; }
}

.pill{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: hsl(var(--secondary) / 0.18);
  border: 1px solid hsl(var(--secondary));
  font-weight: 800;
  font-size: 0.92rem;
}
.pill-icon{ color: hsl(var(--primary)); }

.hero-title{
  margin: 14px 0 0;
  font-size: clamp(2.1rem, 4.2vw, 3.7rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.hero-subtitle{ max-width: 56ch; font-size: 1.06rem; line-height: 1.6; }

.hero-actions{
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}
@media (min-width: 560px){
  .hero-actions{ flex-direction: row; }
}

.trust{
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 18px;
}
.trust-item{
  display: flex;
  align-items: center;
  gap: 10px;
}
.trust-badge{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: hsl(var(--secondary) / 0.25);
  display: grid;
  place-items: center;
}
.trust-title{ margin: 0; font-weight: 900; }
.trust-desc{ margin: 0; color: hsl(var(--muted-foreground)); font-size: 0.92rem; }

.hero-media{ position: relative; }
.img-hero{
  width: 100%;
  min-height: 420px;
  border-radius: 26px;
  border: 1px solid hsl(var(--border));
  background: hsl(var(--background));
  box-shadow: var(--shadow-elevated);
}
.hero-photo{
  background: url("./assets/anaeleotrab.jpeg") center/cover no-repeat;
}

.hero-wave{
  position: absolute;
  left: 0; right: 0; bottom: -1px;
}
.hero-wave svg{ width: 100%; height: auto; display: block; }

.section-head{
  max-width: 720px;
  margin: 0 auto 56px;
}
.tag{
  display: inline-block;
  padding: 7px 14px;
  border-radius: 999px;
  background: hsl(var(--accent));
  color: hsl(var(--accent-foreground));
  font-weight: 900;
  font-size: 0.9rem;
}

.grid{ display: grid; gap: 18px; }

.services-grid{ grid-template-columns: 1fr; }
@media (min-width: 640px){ .services-grid{ grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px){ .services-grid{ grid-template-columns: repeat(3, 1fr); } }

.service-card{
  padding: 22px;
  border-radius: 20px;
  box-shadow: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.service-card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.icon-box{
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: hsl(var(--primary-foreground));
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.about-grid{
  display: grid;
  gap: 44px;
  align-items: center;
}
@media (min-width: 1024px){
  .about-grid{ grid-template-columns: 0.95fr 1.05fr; }
}
.stats-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.stat{ padding: 22px; text-align: center; }
.stat-number{
  font-weight: 900;
  font-size: clamp(2.3rem, 4vw, 3.2rem);
  line-height: 1;
}
.stat-offset{ margin-top: 22px; }

.feature-list{
  list-style: none;
  padding: 0;
  margin: 14px 0 18px;
  display: grid;
  gap: 10px;
}
.feature-list li{
  display: flex;
  align-items: center;
  gap: 10px;
  color: hsl(var(--foreground));
}
.check{
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
  font-weight: 900;
  flex: 0 0 auto;
}

.team-grid{
  max-width: 980px;
  margin: 0 auto;
  grid-template-columns: 1fr;
  gap: 28px;
}
@media (min-width: 640px){ .team-grid{ grid-template-columns: repeat(2, 1fr); } }
.team-grid-2{
  max-width: 760px;
  align-items: start;
}

.team-card{ text-align: center; }
.avatar{
  position: relative;
  width: 210px;
  height: 210px;
  margin: 0 auto 18px;
}
.avatar-photo{
  width: 100%;
  height: 100%;
  border-radius: 999px;
  border: 5px solid hsl(var(--secondary));
  background: hsl(var(--background));
  box-shadow: var(--shadow-card);
  transition: transform .45s ease, box-shadow .2s ease;
}
.team-card:hover .avatar-photo{
  transform: scale(1.03);
  box-shadow: var(--shadow-elevated);
}
.avatar-ana{ background: url("./assets/ANAPRINCIPAl.jpeg") center/cover no-repeat; }
.avatar-leo{ background: url("./assets/leoprincipal.png" ) center/cover no-repeat; }

.role{ margin: 4px 0 0; color: hsl(var(--primary)); font-weight: 900; }

.contact-grid{
  display: grid;
  gap: 22px;
  align-items: start;
}
@media (min-width: 1024px){
  .contact-grid{ grid-template-columns: 1fr 1fr; gap: 44px; }
}

.contact-grid-map .map-card{
  padding: 22px;
  border-radius: 22px;
}
@media (min-width: 1024px){
  .contact-grid-map .map-card{ padding: 28px; position: sticky; top: 102px; }
}

.info-grid{ grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px){ .info-grid{ grid-template-columns: repeat(2, 1fr); } }

.info-grid-tidy{
  margin-top: 18px;
}
.info-card{
  padding: 18px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  box-shadow: var(--shadow-soft);
  border-radius: 18px;
  min-height: 116px;
}
.info-icon{
  width: 54px;
  height: 54px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: hsl(var(--primary-foreground));
  font-size: 1.25rem;
  flex: 0 0 auto;
}

.map-embed{
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid hsl(var(--border));
  box-shadow: var(--shadow-soft);
  margin-top: 12px;
}
.map-embed iframe{
  width: 100%;
  height: 380px;
  border: 0;
  display: block;
}
.map-actions{
  margin-top: 14px;
}

.site-footer{
  background: hsl(var(--foreground));
  color: hsl(var(--background));
  padding: 48px 0 20px;
}
.footer-grid{
  display: grid;
  gap: 26px;
}
@media (min-width: 900px){
  .footer-grid{ grid-template-columns: 1.2fr 0.8fr 1fr; gap: 48px; }
}
.footer-brand{
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-logo{
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: url("./assets/logo1.png") center/contain no-repeat;
  background-color: hsl(var(--background));
}
.footer-brand-name{ font-weight: 950; font-size: 1.18rem; }
.footer-muted{ color: hsl(var(--background) / 0.70); }

.footer-social{
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.footer-social-btn{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  text-decoration: none;
  background: hsl(var(--background) / 0.10);
  color: hsl(var(--background));
  transition: background .15s ease, transform .15s ease, color .15s ease;
  font-weight: 900;
}
.footer-social-btn:hover{
  background: hsl(var(--primary));
  transform: translateY(-1px);
}
.footer-social-btn-alt:hover{
  background: hsl(var(--secondary));
  color: hsl(var(--secondary-foreground));
}

.footer-title{ margin: 0 0 10px; }
.footer-links{ display: grid; gap: 10px; }
.footer-links a{
  text-decoration: none;
  color: hsl(var(--background) / 0.70);
}
.footer-links a:hover{ color: hsl(var(--secondary)); }

.footer-contact{ color: hsl(var(--background) / 0.70); }
.footer-contact .spacer{ margin-top: 10px; }

.footer-bottom{ margin-top: 18px; }
.footer-divider{
  height: 1px;
  background: hsl(var(--background) / 0.10);
  margin-bottom: 16px;
}

@keyframes fadeIn{
  from{ opacity: 0; transform: translateY(10px); }
  to{ opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft{
  from{ opacity: 0; transform: translateX(-12px); }
  to{ opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn{
  from{ opacity: 0; transform: scale(.96); }
  to{ opacity: 1; transform: scale(1); }
}
@keyframes float{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-10px); }
}

.animate-fade-in{ animation: fadeIn .55s ease both; }
.animate-fade-in-left{ animation: fadeInLeft .65s ease both; }
.animate-scale-in{ animation: scaleIn .6s ease both; }


.hero-carousel {
  position: relative;
  width: 100%;
  max-width: 520px; 
  height: 420px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,.18);
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity .8s ease, transform .8s ease;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* mobile */
@media (max-width: 768px) {
  .hero-carousel {
    height: 320px;
    max-width: 100%;
  }
}
