:root {
  --azul: #003d8f;
  --azul-claro: #0074d9;
  --verde: #4caf3d;
  --verde-claro: #91d65f;
  --gris: #f4f8fb;
  --texto: #0b2347;
  --dorado: #c9a227;
  --dorado-claro: #f3d77b;
  --dorado-suave: #fff7df;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  color: var(--texto);
}

.top-bar {
  background: var(--azul);
  color: white;
  padding: 8px 7%;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white;
  padding: 14px 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 25px rgba(0,0,0,.08);
}

.logo img {
  height: 70px;
}

.menu {
  display: flex;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu a {
  text-decoration: none;
  color: var(--azul);
  font-weight: 700;
}

.social-icons{
    display:flex;
    gap:15px;
}

.social-icons a{
    width:45px;
    height:45px;

    display:flex;
    justify-content:center;
    align-items:center;

    border-radius:50%;
    text-decoration:none;

    background:#0a5fa8;
    color:#fff;

    font-size:20px;

    transition:.3s;
}

.social-icons a:hover{

    background:#56b946;

    transform:translateY(-4px);

    box-shadow:0 10px 20px rgba(0,0,0,.25);

}

.hero {
  min-height: 760px;
  background:
    linear-gradient(
      90deg,
      rgba(255,255,255,.95) 0%,
      rgba(255,255,255,.84) 20%,
      rgba(255,255,255,.10) 80%
    ),
    url("assets/images/backgraund1.png");

  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  padding: 80px 7%;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero-content{
    position: relative;
    z-index: 5;
}

.hero-card{
    position: relative;
    z-index: 5;

    max-width: 610px;
    background: rgba(255,255,255,.92);
    padding: 48px;
    border-radius: 35px;
    box-shadow: 0 20px 45px rgba(0,61,143,.12);
}
.hero::after{
    content:"";

    position:absolute;

    width:520px;
    height:520px;

    border-radius:50%;
    border:45px solid var(--verde-claro);

    right:-120px;
    bottom:-150px;

    z-index:-1;
}

.badge {
  color: var(--verde);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.hero h1 {
  font-size: 68px;
  line-height: .95;
  margin: 18px 0;
  color: var(--azul);
}

.hero p {
  font-size: 20px;
  line-height: 1.5;
}

.doctor-info {
  margin: 26px 0;
  padding: 18px;
  border-left: 5px solid var(--verde);
  background: var(--gris);
  border-radius: 14px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary,
.btn-light {
  display: inline-block;
  padding: 15px 26px;
  border-radius: 40px;
  text-decoration: none;
  font-weight: 800;
}

.btn-primary {
  background: linear-gradient(90deg, var(--azul), var(--azul-claro));
  color: white;
}

.btn-secondary {
  background: var(--verde);
  color: white;
}

.btn-light {
  background: white;
  color: var(--azul);
}

.section {
  padding: 90px 7%;
}

.section-title {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 50px;
}

.section-title h2 {
  font-size: 42px;
  color: var(--azul);
  margin-bottom: 12px;
}

.section-title p {
  font-size: 18px;
}

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

.service-card,
.benefit-card,
.testimonial-card {
  background: white;
  padding: 32px;
  border-radius: 28px;
  box-shadow: 0 12px 35px rgba(0,61,143,.1);
  border: 1px solid #e7eef5;
}

.service-card .icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--gris);
  border: 2px solid #d9e5f0;
  color: var(--azul);
  display: grid;
  place-items: center;
  font-size: 30px;
  margin-bottom: 18px;
}

.service-card h3 {
  color: var(--azul);
}

.about {
  padding: 90px 7%;
  background: var(--gris);
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 60px;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 35px;
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

.about-content h2 {
  font-size: 42px;
  color: var(--azul);
}

.about-content p {
  font-size: 18px;
  line-height: 1.7;
}

.benefits {
  background: white;
}

.benefit-card {
  font-size: 20px;
  font-weight: 800;
  color: var(--azul);
  border-left: 8px solid var(--verde);
}

.location {
  padding: 90px 7%;
  background: var(--gris);
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 35px;
  align-items: stretch;
}

.location-card {
  background: white;
  border-radius: 30px;
  padding: 36px;
  box-shadow: 0 12px 35px rgba(0,61,143,.12);
}

.location-card h2 {
  color: var(--azul);
  font-size: 38px;
}

.map iframe {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: 30px;
}

.testimonials {
  background: white;
}

.testimonial-card p {
  font-size: 18px;
  line-height: 1.6;
}

.testimonial-card strong {
  color: var(--verde);
}

.contact {
  background: linear-gradient(90deg, var(--azul), var(--azul-claro));
  color: white;
  padding: 60px 7%;
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 30px;
  align-items: center;
}

.contact h2 {
  font-size: 42px;
  margin: 0;
}

.faq {
  background: var(--gris);
}

details {
  max-width: 900px;
  margin: 16px auto;
  background: white;
  border-radius: 18px;
  padding: 22px 28px;
  box-shadow: 0 8px 24px rgba(0,61,143,.08);
}

summary {
  cursor: pointer;
  font-weight: 800;
  color: var(--azul);
  font-size: 18px;
}

details p {
  line-height: 1.6;
}

@media (max-width: 992px) {
  .top-bar,
  .navbar,
  .menu {
    flex-direction: column;
    gap: 12px;
  }

  .menu {
    text-align: center;
  }

  .hero {
    min-height: auto;
    padding: 60px 5%;
  }

  .hero h1 {
    font-size: 46px;
  }

  .grid,
  .about,
  .location,
  .contact {
    grid-template-columns: 1fr;
  }

  .about {
    padding: 60px 5%;
  }

  .section,
  .location {
    padding: 60px 5%;
  }
}
.services-section {
  padding: 90px 7%;
  background: #f7f9fc;
}

.services-header {
  text-align: center;
  margin-bottom: 55px;
}

.services-header span {
  color: #003d8f;
  font-weight: 800;
  font-size: 15px;
  position: relative;
}

.services-header span::before {
  content: "";
  width: 32px;
  height: 3px;
  background: #4caf3d;
  display: inline-block;
  margin-right: 12px;
  vertical-align: middle;
}

.services-header h2 {
  margin: 12px 0;
  color: #003d8f;
  font-size: 48px;
  line-height: 1.05;
  font-weight: 900;
}

.services-header h2 strong {
  color: #4caf3d;
}

.services-header p {
  color: #53627c;
  font-size: 17px;
}

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

.service-card {
  background: #fff;
  border-radius: 0 34px 20px 20px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 18px 45px rgba(0, 61, 143, 0.10);
  transition: 0.3s ease;
  border-bottom: 3px solid transparent;
}

.service-card:hover {
  transform: translateY(-8px);
  border-bottom-color: #4caf3d;
}

.service-image {
  height: 210px;
  overflow: hidden;
  border-radius: 0 34px 0 0;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-icon {
  position: absolute;
  top: 160px;
  left: 28px;
  width: 82px;
  height: 82px;
  border-radius: 50%;
  background: #003d8f;
  color: #fff;
  border: 6px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
}

.service-content {
  padding: 58px 28px 32px;
}

.service-content h3 {
  color: #003d8f;
  font-size: 25px;
  line-height: 1.1;
  margin-bottom: 18px;
}

.service-content p {
  color: #53627c;
  line-height: 1.6;
  margin-bottom: 26px;
}

.service-content a {
  color: #003d8f;
  font-weight: 800;
  text-decoration: none;
}

.service-content a i {
  color: #4caf3d;
  margin-left: 8px;
}

.services-button {
  margin-top: 48px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
}

.services-button a {
  background: #4caf3d;
  color: #fff;
  padding: 16px 34px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}

.services-button span {
  width: 52px;
  height: 52px;
  background: #003d8f;
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 20px;
}

@media (max-width: 992px) {
  .services-cards {
    grid-template-columns: 1fr;
  }

  .services-header h2 {
    font-size: 36px;
  }
}
.menu-toggle {
  display: none;
  background: #003d8f;
  color: #fff;
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  font-size: 22px;
  cursor: pointer;
}

@media (max-width: 992px) {
  .navbar {
    position: relative;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 15px 0;
    box-shadow: 0 15px 30px rgba(0,0,0,.12);
    display: none;
  }

  .menu.active {
    display: flex;
  }

  .menu li {
    width: 100%;
    text-align: center;
  }

  .menu a {
    display: block;
    padding: 14px 20px;
  }
}
.benefits-section {
  padding: 100px 7%;
  background:
    radial-gradient(circle at top left, rgba(76,175,61,.10), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
}

.benefits-title {
  text-align: center;
  max-width: 850px;
  margin: 0 auto 60px;
}

.benefits-title span {
  color: #4caf3d;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.benefits-title h2 {
  margin: 14px 0;
  font-size: 52px;
  line-height: 1.08;
  color: #003d8f;
  font-weight: 900;
}

.benefits-title p {
  font-size: 19px;
  color: #53627c;
  line-height: 1.6;
}

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

.benefit-item {
  position: relative;
  background: rgba(255,255,255,.92);
  border: 1px solid #e3edf7;
  border-radius: 28px;
  padding: 32px;
  display: flex;
  gap: 20px;
  min-height: 190px;
  box-shadow: 0 18px 40px rgba(0,61,143,.08);
  overflow: hidden;
  transition: .3s ease;
}

.benefit-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 28px;
  width: 7px;
  height: calc(100% - 56px);
  background: #4caf3d;
  border-radius: 0 20px 20px 0;
}

.benefit-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 50px rgba(0,61,143,.14);
}

.benefit-icon {
  min-width: 62px;
  height: 62px;
  border-radius: 50%;
  background: #003d8f;
  color: white;
  display: grid;
  place-items: center;
  font-size: 26px;
  box-shadow: 0 10px 22px rgba(0,61,143,.22);
}

.benefit-item h3 {
  margin: 0 0 10px;
  color: #003d8f;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 900;
}

.benefit-item p {
  margin: 0;
  color: #53627c;
  font-size: 16px;
  line-height: 1.55;
}

@media(max-width:1100px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits-title h2 {
    font-size: 42px;
  }
}

@media(max-width:768px) {
  .benefits-section {
    padding: 70px 6%;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .benefits-title h2 {
    font-size: 34px;
  }

  .benefit-item {
    padding: 28px;
  }
}
.testimonials-section {
  padding: 100px 7%;
  background: #f7f6fb;
  overflow: hidden;
}

.testimonials-title {
  text-align: center;
  margin-bottom: 70px;
}

.testimonials-title span {
  display: block;
  width: 3px;
  height: 48px;
  background: #4caf3d;
  margin: 0 auto 20px;
}

.testimonials-title h2 {
  font-size: 42px;
  color: #111;
  font-weight: 900;
}

.testimonials-wrapper {
  position: relative;
  display: grid;
  grid-template-columns: 0.8fr 1.25fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.testimonial-card {
  background: #fff;
  text-align: center;
  box-shadow: 0 18px 45px rgba(0,0,0,.06);
}

.side-card {
  padding: 45px 32px;
  opacity: 0.55;
  transform: scale(0.92);
}

.side-card p {
  font-size: 15px;
  color: #777;
  line-height: 1.6;
}

.side-card strong {
  display: block;
  margin-top: 22px;
  font-size: 14px;
  color: #333;
}

.main-card {
  position: relative;
  padding: 58px 65px 72px;
  min-height: 330px;
  z-index: 2;
}

.stars {
  color: #4caf3d;
  font-size: 24px;
  margin-bottom: 28px;
}

.main-card p {
  color: #333;
  font-size: 22px;
  line-height: 1.65;
  font-weight: 600;
}

.main-card strong {
  display: block;
  margin-top: 26px;
  color: #003d8f;
  font-size: 21px;
  font-weight: 900;
}

.quote {
  position: absolute;
  right: 48px;
  bottom: -45px;
  color: #4caf3d;
  font-size: 150px;
  font-weight: 900;
  line-height: 1;
}

.testimonial-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  color: #111;
  border: none;
  font-size: 34px;
  cursor: pointer;
  z-index: 5;
}

.testimonial-arrow.left {
  left: -50px;
}

.testimonial-arrow.right {
  right: -50px;
}

@media(max-width: 992px) {
  .testimonials-wrapper {
    grid-template-columns: 1fr;
  }

  .side-card {
    display: none;
  }

  .main-card {
    padding: 45px 28px 65px;
  }

  .main-card p {
    font-size: 18px;
  }

  .testimonial-arrow {
    display: none;
  }
}
.footer {
  background: #f7f9fc;
  color: #0b2347;
}

.footer-main {
  padding: 70px 7%;
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr 1fr;
  gap: 45px;
  align-items: flex-start;
}

.footer-brand img {
  width: 300px;
  margin-bottom: 18px;
}

.footer-brand h3 {
  max-width: 330px;
  font-size: 23px;
  line-height: 1.35;
  color: #003d8f;
  margin: 0 0 20px;
}

.footer-brand p {
  color: #53627c;
  margin: 0;
}

.footer-column h4,
.footer-app h4 {
  color: #003d8f;
  margin: 0 0 18px;
  font-size: 16px;
}

.footer-column a {
  display: block;
  color: #53627c;
  text-decoration: none;
  margin-bottom: 14px;
  font-weight: 600;
}

.footer-column a:hover {
  color: #4caf3d;
}

.footer-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 140px;
  padding: 10px 16px;
  border: 1px solid #dfe8f2;
  border-radius: 999px;
  text-decoration: none;
  color: #003d8f;
  background: #fff;
  font-weight: 800;
  margin-bottom: 12px;
}

.footer-pill:hover {
  background: #003d8f;
  color: #fff;
}

.footer-bottom {
  background: #4caf3d;
  padding: 18px 7%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom p {
  margin: 0;
  color: #ffffff;
  font-weight: 700;
}

.footer-bottom a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  margin-left: 26px;
}

@media(max-width: 992px) {
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-bottom a {
    margin: 0 10px;
  }
}

@media(max-width: 576px) {
  .footer-main {
    grid-template-columns: 1fr;
  }
}
.gallery-section {
  padding: 100px 7%;
  background: #fff;
}

.gallery-container {
  display: grid;
  padding: 20px 20px;
  grid-template-columns: 1.25fr 1fr;
  gap: 60px;
  align-items: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.gallery-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0,61,143,.12);
}

.gallery-img.large {
  grid-column: span 2;
  height: 260px;
}

.gallery-text span {
  color: #4caf3d;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gallery-text h2 {
  color: #003d8f;
  font-size: 46px;
  line-height: 1.08;
  margin: 14px 0;
}

.gallery-text p {
  color: #53627c;
  font-size: 18px;
  line-height: 1.6;
}

.gallery-btn {
  display: inline-block;
  margin-top: 24px;
  background: #4caf3d;
  color: #fff;
  padding: 15px 30px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
}

@media(max-width: 900px) {
  .gallery-container {
    grid-template-columns: 1fr;
  }

  .gallery-text h2 {
    font-size: 34px;
  }
}

@media(max-width: 576px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-img.large {
    grid-column: span 1;
  }
}

/* =========================================================
   Correcciones y acentos dorados
   ========================================================= */

html {
  scroll-behavior: smooth;
}

.logo a,
.footer-brand a {
  display: inline-block;
  line-height: 0;
}

.navbar {
  border-bottom: 3px solid var(--dorado);
}

.menu a:hover {
  color: var(--dorado);
}

.badge,
.services-header span,
.benefits-title span,
.gallery-text span {
  color: var(--dorado);
}

.services-header span::before,
.testimonials-title span,
.benefit-item::before {
  background: var(--dorado);
}

.hero-card {
  border: 1px solid rgba(201, 162, 39, .35);
}

.hero::after {
  border-color: rgba(243, 215, 123, .55);
}

.doctor-info {
  border-left-color: var(--dorado);
  background: linear-gradient(90deg, var(--dorado-suave), var(--gris));
}

.btn-primary,
.gallery-btn,
.services-button a {
  background: linear-gradient(90deg, var(--azul), var(--azul-claro));
  border: 2px solid var(--dorado);
  box-shadow: 0 10px 24px rgba(201, 162, 39, .22);
}

.btn-primary:hover,
.gallery-btn:hover,
.services-button a:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(201, 162, 39, .32);
}

.btn-secondary {
  background: linear-gradient(90deg, var(--verde), #69c858);
  border: 2px solid var(--dorado);
}

.social-icons a:hover {
  background: var(--dorado);
  color: #fff;
}

.service-icon,
.benefit-icon {
  border: 4px solid var(--dorado);
  box-shadow: 0 10px 24px rgba(201, 162, 39, .28);
}

.service-card {
  border: 1px solid rgba(201, 162, 39, .18);
}

.service-card:hover {
  border-bottom-color: var(--dorado);
}

.service-content a i,
.footer-column a:hover,
.testimonial-card strong,
.stars,
.quote {
  color: var(--dorado);
}

.benefit-item {
  border-color: rgba(201, 162, 39, .25);
}

.gallery-section {
  padding: 100px 7%;
  background: #fff;
}

.gallery-container {
  padding: 0;
}

.gallery-img {
  border: 2px solid rgba(201, 162, 39, .45);
}

/* Ajuste específico para que se vea la cara del doctor con bata */
.gallery-img.doctor-photo {
  object-position: center 15%;
}

.location-card {
  border: 1px solid rgba(201, 162, 39, .30);
}

.footer-pill {
  border-color: rgba(201, 162, 39, .45);
}

.footer-pill:hover {
  background: var(--dorado);
  color: #fff;
}

.footer-bottom {
  background: linear-gradient(90deg, #9b7a18, var(--dorado));
}

@media (max-width: 992px) {
  .navbar {
    position: sticky;
  }
}
