:root {
    --rose: #b75887;
    --pink: #f8e7ef;
    --cream: #fffbfc;
    --ink: #46343d;
    --muted: #766670;
    --line: #ead6df;
    --blue: #f5e8ef
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--ink);
    font-family: 'Quicksand', sans-serif
}

h1,
h2,
h3,
p {
    margin-top: 0
}

h1,
h2,
h3 {
    font-family: Fredoka, sans-serif
}

h1 {
    font-size: clamp(2.7rem, 5vw, 5.1rem);
    line-height: 1.12;
    letter-spacing: -.045em
}

h2 {
    font-size: clamp(2.1rem, 3.6vw, 3.6rem);
    line-height: 1.18;
    letter-spacing: -.035em
}

h3 {
    font-size: 1.24rem
}

em {
    font-style: normal;
    color: var(--rose)
}

p {
    line-height: 1.8;
    color: var(--muted)
}

a {
    text-decoration: none;
    color: inherit
}

.nav {
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 max(5%, calc((100vw - 1250px)/2));
    background: #fffcfd;
    position: sticky;
    top: 0;
    z-index: 10;
    box-shadow: 0 2px 18px #543b3510
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px
}

.brand-icon {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    background: var(--pink);
    border-radius: 50%;
    font-size: 25px;
    color: var(--rose)
}

.brand strong,
.brand small {
    display: block
}

.brand strong {
    font-family: Fredoka;
    font-size: 17px
}

.brand small {
    letter-spacing: .24em;
    color: var(--rose);
    font-size: 9px;
    margin-top: 2px
}

.nav nav {
    display: flex;
    gap: 36px;
    font-size: 18px
}

.nav nav a:hover,
.text-link:hover {
    color: var(--rose)
}

.btn {
    background: var(--rose);
    border-radius: 30px;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 16px 28px;
    font-weight: 700;
    font-size: 14px;
    transition: .2s
}

.btn:hover {
    background: #93416a;
    transform: translateY(-2px)
}

.btn-small {
    padding: 13px 23px
}

.hero {
    max-width: 1370px;
    margin: auto;
    min-height: 680px;
    padding: 72px 7%;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 65px;
    align-items: center
}

.eyebrow,
.kicker {
    font-size: 12px;
    letter-spacing: .13em;
    color: var(--rose);
    font-weight: 800;
    margin-bottom: 22px
}

.eyebrow {
    background: #f9e8ef;
    display: inline-block;
    padding: 12px 17px;
    border-radius: 30px;
    letter-spacing: .02em
}

.hero-copy>p {
    font-size: 17px;
    max-width: 490px
}

.actions {
    display: flex;
    gap: 24px;
    align-items: center;
    margin-top: 32px;
    flex-wrap: wrap
}

.secondary,
.text-link {
    font-size: 14px;
    font-weight: 700
}

.mini-note {
    font-size: 12px;
    color: #9a8c85;
    margin-top: 45px
}

.hero-image {
    height: 560px;
    position: relative;
    border-radius: 230px 230px 28px 28px;
    background: #f6e0ea;
    overflow: hidden
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 59%
}

.image-label {
    position: absolute;
    bottom: 25px;
    left: 25px;
    background: #fffef8ed;
    padding: 15px 20px;
    border-radius: 16px;
    font-family: Fredoka;
    font-weight: 700;
    font-size: 14px
}

.image-label span {
    color: var(--rose)
}

.section {
    padding: 100px max(7%, calc((100vw - 1200px)/2))
}

.intro {
    background: white;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: center
}

.intro-images {
    height: 540px;
    position: relative
}

.primary-photo {
    width: 75%;
    height: 94%;
    object-fit: cover;
    border-radius: 180px 180px 20px 20px
}

.detail-photo {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 42%;
    height: 53%;
    object-fit: cover;
    border: 9px solid white;
    border-radius: 100px 100px 15px 15px
}

.editable {
    border: 1px dashed #d7a7a9;
    background: #fff5fa;
    border-radius: 14px;
    padding: 16px 18px;
    margin: 25px 0
}

.editable strong {
    font-size: 11px;
    letter-spacing: .08em;
    color: #a64677
}

.editable p {
    font-size: 12px;
    margin: 8px 0 0;
    line-height: 1.6
}

.services {
    background: #f9edf3
}

.section-heading {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 48px
}

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

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  background: #fff;
  border: 1px solid #f0e3e1;
  padding: 0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 20px #5b394014;
}

.service-card img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: center;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.service-icon {
    font-size: 29px;
    margin-bottom: 23px
}

.service-card h3 {
    min-height: 56px;
    line-height: 1.35
}

.service-card p {
    font-size: 13px;
    line-height: 1.7
}

.service-footer {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    align-items: center;
    margin-top: auto;
    border-top: 1px solid var(--line);
    padding-top: 18px
}

.service-footer strong {
    font-size: 17px;
    color: var(--rose)
}

.service-footer a {
    font-size: 12px;
    font-weight: 700
}

.booking {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
    background: white
}

.calendar,
.map-placeholder {
    background: #fff9fc;
    border: 2px dashed #dfc7c5;
    border-radius: 24px;
    min-height: 390px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 28px
}

.calendar-symbol {
    font-size: 60px;
    color: var(--rose);
    margin-bottom: 15px
}

.calendar p {
    max-width: 290px
}

.calendar span,
.map-placeholder small {
    font-size: 12px;
    color: #ad7f83
}

.location {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center
}

.info-line {
    display: flex;
    gap: 18px;
    margin: 25px 0
}

.info-line>span {
    font-size: 26px;
    color: var(--rose)
}

.info-line strong {
    font-size: 15px
}

.info-line p {
    font-size: 14px;
    margin: 6px 0
}

.contact-links {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 25px
}

.outline {
    background: transparent;
    border: 1px solid var(--rose);
    color: var(--rose)
}

.outline:hover {
    color: white
}

.map-placeholder {
    background: #f8e9f0
}

.map-placeholder>span {
    font-size: 70px;
    color: var(--rose)
}

.faq {
    background: white
}

.faq-list {
    max-width: 800px;
    margin: auto
}

details {
    border-bottom: 1px solid var(--line);
    padding: 23px 4px
}

summary {
    cursor: pointer;
    font-weight: 700;
    font-family: Fredoka
}

details p {
    font-size: 14px;
    margin: 15px 0 0
}

.final-cta {
    display: grid;
    grid-template-columns: 42% 58%;
    background: #f4dfeb;
    min-height: 430px
}

.final-cta img {
    width: 100%;
    height: 430px;
    object-fit: cover;
    object-position: center 35%
}

.final-cta>div {
    padding: 70px 12%;
    align-self: center
}

.final-cta p {
    max-width: 440px
}

footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 35px 7%;
    background: #fff
}

footer p {
    font-size: 13px;
    margin: 0
}

footer>a {
    font-size: 13px;
    color: var(--rose);
    font-weight: 700
}

footer>small {
    flex-basis: 100%;
    font-size: 11px;
    color: #999
}

.legal {
    color: #b46e78
}

@media(max-width:950px) {
    .nav {
        padding: 0 5%
    }

    .nav nav {
        display: none
    }

    .hero {
        gap: 30px;
        padding: 55px 5%
    }

    .hero-image {
        height: 490px
    }

    .section {
        padding: 75px 5%
    }

    .intro {
        gap: 35px
    }

    .service-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .booking,
    .location {
        gap: 35px
    }
}

@media(max-width:650px) {
    .nav {
        height: 75px
    }

    .nav .btn-small {
        font-size: 11px;
        padding: 12px 14px
    }

    .brand strong {
        font-size: 13px
    }

    .brand-icon {
        width: 34px;
        height: 34px
    }

    .hero,
    .intro,
    .booking,
    .location,
    .final-cta {
        grid-template-columns: 1fr
    }

    .hero {
        padding: 48px 6% 65px;
        gap: 40px
    }

    .hero-image {
        height: 460px;
        max-width: 390px;
        width: 100%;
        margin: auto
    }

    .mini-note {
        margin-top: 27px
    }

    .section {
        padding: 65px 6%
    }

    .intro-images {
        height: 410px
    }

    .service-grid {
        grid-template-columns: 1fr
    }

    .service-card {
        min-height: 250px
    }

    .service-card h3 {
        min-height: 0
    }

    .calendar,
    .map-placeholder {
        min-height: 340px
    }

    .final-cta img {
        height: 330px
    }

    .final-cta>div {
        padding: 60px 7%
    }

    footer {
        padding: 35px 6%
    }

    .actions {
        gap: 17px
    }
}

/* Identidad oficial de la Dra. Raquel Alfaro */
.brand-logo {
    display: block;
    width: 218px;
    height: 68px;
    object-fit: contain;
    object-position: left center
}

.brand img {
  width: 220px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.nav .brand {
    min-width: 218px
}

.hero-seal {
    display: block;
    width: 92px;
    height: 92px;
    object-fit: contain;
    margin-top: 12px;
    filter: drop-shadow(0 4px 8px #b758871a)
}

.hero-copy h1,
.section h2,
.final-cta h2 {
    font-family: 'Fredoka', sans-serif;
    font-weight: 900
}



.service-footer strong {
    color: #b75887
}

footer .brand-logo {
    width: 190px;
    height: 70px
}

@media(max-width:650px) {
    .brand-logo {
        width: 152px;
        height: 52px
    }

    .nav .brand {
        min-width: 0
    }

    .hero-seal {
        width: 78px;
        height: 78px
    }

    footer .brand-logo {
        width: 180px
    }
}

/* Tarjetas con imagen en lugar de emoji */


.service-photo {
    width: 100%;
    height: 185px;
    object-fit: cover;
    display: block;
    background: #f9e7ef
}

.service-card h3,
.service-card p {
    margin-left: 21px;
    margin-right: 21px
}

.service-card h3 {
    margin-top: 22px
}

.service-footer {
    margin: 0 21px 22px
}

/* Tipografia alineada con el logotipo: redondeada, amigable y legible. */
body {
    font-family: "Quicksand", sans-serif;
    font-weight: 500
}

h1,
h2,
h3,
.image-label,
summary,
.brand strong {
    font-family: "Fredoka", sans-serif
}

h1,
h2 {
    font-weight: 600;
    letter-spacing: -.025em
}

.hero-copy h1,
.section h2,
.final-cta h2 {
    font-family: "Fredoka", sans-serif;
    font-weight: 600
}

h3 {
    font-weight: 600
}

.btn,
.eyebrow,
.kicker {
    font-family: "Quicksand", sans-serif;
    font-weight: 700
}

.header-logo {
  display: block;
  width: 220px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

/* Cinco servicios con fotos reales */
.service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr))
}

.service-photo {
    height: 205px;
    object-position: center 40%
}

@media(max-width:950px) {
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

@media(max-width:650px) {
    .service-grid {
        grid-template-columns: 1fr
    }
}