/* =========================================================
   RESET
========================================================= */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Montserrat',sans-serif;
  background:#f9f6f5;
  color:#2c2c2c;
  overflow-x:hidden;
}

img{
  max-width:100%;
  display:block;
}

a{
  text-decoration:none;
  color:inherit;
}


/* =========================================================
   VARIABLES
========================================================= */

:root{

  --primary:#bf7884;
  --primary-dark:#a96470;

  --text:#2c2c2c;

  --soft:#f7f3f1;

  --border:#eadfdb;

  --shadow:
  0 10px 35px rgba(0,0,0,.08);

}


/* =========================================================
   CONTAINER
========================================================= */

.container{
  width:90%;
  max-width:1250px;
  margin:auto;
}


/* =========================================================
   HEADER
========================================================= */

header{
  position:sticky;
  top:0;
  z-index:1000;

  background:rgba(255,255,255,.96);

  backdrop-filter:blur(10px);

  border-bottom:1px solid #eee;
}

.navbar{
  display:flex;
  align-items:center;
  justify-content:space-between;

  gap:20px;

  padding:20px 0;
}


/* LOGO */

.logo{
  display:flex;
  align-items:center;
}

.logo img{
  width:190px;
  height:auto;

  object-fit:contain;

  image-rendering:auto;

  backface-visibility:hidden;

  transform:translateZ(0);
}


/* =========================================================
   MENU
========================================================= */

nav{
  display:flex;
  align-items:center;
  gap:38px;

  font-size:14px;
}

nav a{
  position:relative;
  font-weight:500;
}

nav a.active::after{
  content:'';

  position:absolute;

  left:0;
  bottom:-14px;

  width:100%;
  height:3px;

  background:var(--primary);

  border-radius:10px;
}


/* =========================================================
   BOTONES
========================================================= */

.btn-top,
.btn-primary{
  background:
  linear-gradient(
    to right,
    #c9818d,
    #bf7884
  );

  color:white;

  padding:15px 26px;

  border-radius:999px;

  display:flex;
  align-items:center;
  justify-content:center;

  gap:10px;

  font-size:14px;
  font-weight:600;

  box-shadow:
  0 10px 24px rgba(191,120,132,.22);

  transition:.25s;
}

.btn-top:hover,
.btn-primary:hover{
  transform:translateY(-2px);
}

.btn-secondary{
  padding:15px 26px;

  border:1px solid #cda2aa;

  border-radius:999px;

  color:#b16d79;

  background:white;

  font-size:14px;
  font-weight:600;

  transition:.25s;
}

.btn-secondary:hover{
  background:#fff5f6;
}


/* =========================================================
   HERO
========================================================= */

.hero{
  padding:40px 0 60px;

  background:
  linear-gradient(
    to right,
    #fbf8f7,
    #f2ece9
  );

  overflow:hidden;
}

.hero-grid{
  display:grid;

  grid-template-columns:1fr 1fr;

  align-items:center;

  gap:60px;
}


/* TEXTO */

.hero-content{
  position:relative;
  z-index:2;
}

.hero h2{
  font-size:58px;

  line-height:1.08;

  color:#bf7884;

  margin-bottom:24px;

  font-weight:800;
}

.hero p{
  font-size:18px;

  line-height:1.8;

  color:#4d4d4d;

  margin-bottom:34px;

  max-width:580px;
}

.hero-actions{
  display:flex;
  gap:20px;
  align-items:center;
}


/* IMAGEN */

.hero-image-full{
  width:100%;

  display:flex;
  justify-content:center;
  align-items:center;
}

.hero-image-full img{
  width:100%;

  max-width:620px;

  height:auto;

  object-fit:contain;

  border-radius:34px;

  box-shadow:
  0 18px 45px rgba(0,0,0,.08);
}


/* =========================================================
   SECTIONS
========================================================= */

section{
  padding:90px 0;
}

.section-title{
  font-size:42px;

  color:var(--primary);

  margin-bottom:14px;

  font-weight:800;
}

.section-mini{
  color:#8d9274;

  font-weight:600;

  margin-bottom:14px;

  font-size:14px;

  letter-spacing:.5px;
}

.section-text{
  font-size:16px;

  line-height:1.8;

  color:#555;
}


/* =========================================================
   SERVICIOS
========================================================= */

.practice-header{
  display:flex;

  justify-content:space-between;

  gap:40px;

  align-items:flex-end;

  margin-bottom:50px;
}

.cards{
  display:grid;

  grid-template-columns:repeat(4,1fr);

  gap:30px;
}

.card{
  background:white;

  border:1px solid #efe4df;

  border-radius:18px;

  padding:40px 24px;

  text-align:center;

  min-height:280px;

  transition:.3s;
}

.card:hover{
  transform:translateY(-8px);

  box-shadow:var(--shadow);
}

.card i{
  font-size:40px;

  color:var(--primary);

  margin-bottom:24px;
}

.card h3{
  font-size:24px;

  margin-bottom:14px;
}

.card p{
  color:#555;

  line-height:1.8;

  font-size:15px;
}


/* =========================================================
   FAQ
========================================================= */

#faq{
  background:#fcf9f8;

  position:relative;

  overflow:hidden;
}

.faq-grid{
  display:grid;

  grid-template-columns:420px 1fr;

  gap:60px;

  align-items:center;
}


/* IZQUIERDA */

.faq-left{
  position:relative;
}

.faq-text{
  max-width:380px;
}


/* ILUSTRACION */

.faq-illustration{
  position:relative;

  width:100%;

  height:380px;

  margin-top:30px;

  display:flex;

  align-items:center;
  justify-content:center;
}

.faq-circle{
  width:280px;
  height:280px;

  border-radius:50%;

  background:#f1dfdc;

  position:absolute;

  left:50%;
  top:50%;

  transform:translate(-50%,-50%);
}

.faq-illustration img{
  position:relative;

  z-index:2;

  width:100%;

  max-width:300px;

  object-fit:contain;
}

.faq-dot{
  width:50px;
  height:50px;

  border-radius:50%;

  background:#8d9274;

  position:absolute;

  right:30px;
  bottom:80px;

  z-index:3;
}


/* FAQ ITEMS */

.faq-item{
  background:white;

  border:1px solid #ece0dc;

  border-radius:14px;

  margin-bottom:18px;

  overflow:hidden;

  box-shadow:
  0 5px 18px rgba(0,0,0,.03);
}

.faq-question{
  padding:22px 24px;

  display:flex;

  justify-content:space-between;
  align-items:center;

  cursor:pointer;

  font-size:16px;

  font-weight:600;

  color:#444;
}

.faq-question i{
  font-size:14px;
}

.faq-answer{
  padding:0 24px 24px;

  font-size:14px;

  line-height:1.9;

  color:#666;

  display:none;
}

.faq-item.active .faq-answer{
  display:block;
}


/* =========================================================
   CONTACTO
========================================================= */

.contact-grid{
  display:grid;

  grid-template-columns:400px 1fr;

  gap:40px;

  align-items:center;
}

.contact-info h2{
  font-size:44px;

  color:var(--primary);

  margin-bottom:30px;
}

.contact-info h4{
  color:#8d9274;

  margin-bottom:14px;

  font-size:14px;
}

.contact-item{
  display:flex;

  align-items:center;

  gap:16px;

  margin-bottom:24px;

  font-size:17px;
}

.contact-item i{
  color:var(--primary);
}

.map{
  height:360px;

  border-radius:20px;

  overflow:hidden;
}

.map iframe{
  width:100%;
  height:100%;
  border:none;
}


/* =========================================================
   FOOTER
========================================================= */

footer{
  background:#111;

  color:white;

  padding:60px 0 30px;
}

.footer-grid{
  display:grid;

  grid-template-columns:1.2fr 1fr 1fr;

  gap:60px;

  margin-bottom:50px;
}

.footer-logo img{
  width:180px;

  margin-bottom:20px;
}

.footer-links h4,
.footer-social h4{
  margin-bottom:22px;

  font-size:22px;
}

.footer-links a{
  display:block;

  margin-bottom:14px;

  color:#ddd;

  font-size:15px;
}

footer p{
  font-size:15px;

  line-height:1.8;

  color:#ddd;
}

.socials{
  display:flex;
  gap:18px;
}

.socials a{
  width:50px;
  height:50px;

  border-radius:50%;

  background:#c67d89;

  display:flex;
  align-items:center;
  justify-content:center;
}

.copyright{
  text-align:center;

  border-top:1px solid rgba(255,255,255,.12);

  padding-top:24px;

  color:#ccc;

  font-size:14px;
}


/* =========================================================
   CHATBOT PREMIUM
========================================================= */

.chatbot{
  position:fixed;

  right:24px;
  bottom:100px;

  width:390px;

  max-width:calc(100vw - 24px);

  max-height:82vh;

  background:#fff;

  border-radius:24px;

  box-shadow:
  0 25px 60px rgba(0,0,0,.18);

  z-index:999999;

  overflow:hidden;

  opacity:0;
  visibility:hidden;

  transform:translateY(20px);

  transition:.3s ease;

  display:flex;
  flex-direction:column;
}

.chatbot.show{
  opacity:1;
  visibility:visible;

  transform:translateY(0);
}


/* HEADER CHATBOT */

.chat-header{
  background:
  linear-gradient(
    to right,
    #c9818d,
    #bf7884
  );

  color:white;

  padding:22px 22px 18px;

  flex-shrink:0;
}


/* HEADER TOP */

.chat-header-top{
  display:flex;
  align-items:center;
  gap:14px;
}


/* LOGO CHATBOT */

.chat-header-top img{
  width:52px;
  height:52px;

  object-fit:contain;

  background:white;

  padding:6px;

  border-radius:14px;
}


/* TITULOS */

.chat-header-top h3{
  font-size:18px;
  font-weight:700;

  margin-bottom:4px;

  line-height:1.2;
}

.chat-header-top p{
  font-size:13px;

  opacity:.95;

  line-height:1.4;
}


/* OPCIONES */

.chat-options{
  padding:18px;

  display:flex;
  flex-direction:column;

  gap:12px;

  overflow-y:auto;

  max-height:430px;

  scrollbar-width:thin;
}

.chat-option{
  background:#f7f3f1;

  border-radius:14px;

  padding:14px 16px;

  cursor:pointer;

  display:flex;
  align-items:center;

  gap:12px;

  transition:.25s;

  font-size:14px;

  border:1px solid transparent;
}

.chat-option:hover{
  background:#f1e5e7;

  transform:translateY(-1px);
}

.chat-option i{
  color:#bf7884;

  font-size:16px;
}

.active-option{
  border:1px solid #bf7884;

  background:#f9ecef;
}


/* RESPUESTA */

.chat-response{
  padding:0 18px 20px;
}

.bot-message{
  background:#f8f8f8;

  border-radius:14px;

  padding:16px;

  font-size:14px;

  line-height:1.7;

  color:#444;
}


/* BOTON WHATSAPP */

.chat-wa-btn{
  margin-top:16px;

  width:100%;

  display:flex;
  justify-content:center;
  align-items:center;

  background:#25D366;

  color:white;

  padding:14px;

  border-radius:12px;

  font-weight:600;
}


/* BOTON FLOTANTE */

.chatbot-toggle{
  position:fixed;

  right:24px;
  bottom:24px;

  width:68px;
  height:68px;

  border:none;

  border-radius:50%;

  background:#25D366;

  color:white;

  display:flex;
  align-items:center;
  justify-content:center;

  font-size:32px;

  cursor:pointer;

  z-index:999999999;

  box-shadow:
  0 18px 40px rgba(37,211,102,.38);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:1100px){

  .hero-grid,
  .practice-header,
  .faq-grid,
  .contact-grid,
  .footer-grid{
    grid-template-columns:1fr;
  }

  .cards{
    grid-template-columns:1fr 1fr;
  }

}


@media(max-width:768px){

  section{
    padding:60px 0;
  }

  /* HEADER MOBILE */

  .navbar{
    display:flex;
    align-items:center;
    justify-content:space-between;

    gap:12px;
  }

  .logo img{
    width:140px;
  }

  nav{
    display:none;
  }

  .btn-top{
    display:flex !important;

    align-items:center;
    justify-content:center;

    padding:10px 14px;

    font-size:12px;

    gap:8px;

    white-space:nowrap;

    border-radius:999px;
  }

  .btn-top i{
    font-size:14px;
  }

  /* HERO MOBILE */

  .hero-grid{
    grid-template-columns:1fr;
    gap:30px;
  }

  .hero-content{
    text-align:center;
  }

  .hero h2{
    font-size:36px;
  }

  .hero p{
    font-size:15px;

    margin-left:auto;
    margin-right:auto;
  }

  .hero-actions{
    flex-direction:column;

    width:100%;

    justify-content:center;
    align-items:center;
  }

  .btn-primary,
  .btn-secondary{
    width:100%;
  }

  .hero-image-full{
    justify-content:center;
  }

  .hero-image-full img{
    max-width:100%;
  }

  /* GRIDS */

  .cards{
    grid-template-columns:1fr;
  }

  .faq-grid{
    grid-template-columns:1fr;
  }

  .contact-grid{
    grid-template-columns:1fr;
  }

  .footer-grid{
    grid-template-columns:1fr;

    text-align:center;
  }

  .socials{
    justify-content:center;
  }

  /* CHATBOT MOBILE */

  .chatbot{
    width:calc(100vw - 24px);

    right:12px;
    bottom:86px;

    max-height:76vh;
  }

  .chatbot-toggle{
    width:58px;
    height:58px;

    right:14px;
    bottom:14px;

    font-size:26px;
  }

}


@media(max-width:480px){

  .hero h2{
    font-size:30px;
  }

  .section-title{
    font-size:28px;
  }

}
