:root {
    --green: #003d30;
    --ink: #132e25;
    --ivory: #fbf7ef;
    --gold: #e8b545;
    --muted: #4e5e54
}

body {
    background: var(--ivory);
    line-height: 1.65
}

h1,
h2,
h3 {
    font-weight: 500
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.8rem)
}

h2 {
    font-size: clamp(2rem, 4vw, 3.3rem)
}

h3 {
    font-size: 1.5rem
}

p {
    max-width: 70ch
}

a,
button,
summary {
    -webkit-tap-highlight-color: transparent
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 3px solid #a51e32;
    outline-offset: 5px
}

button {
    font: inherit
}

.shell {
    width: min(1200px, calc(100% - 40px))
}

.section {
    padding-block: 54px
}

.eyebrow {
    color: #875614
}

.button {
    border-radius: 999px;
    min-height: 48px;
    padding: 12px 22px
}

.button.gold {
    background: var(--gold);
    border-color: var(--gold);
    color: #13261d
}

.button.gold:hover {
    background: #f3c765
}

.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px
}

.outline {
    color: var(--green);
    background: transparent;
    border-color: currentColor
}

.outline:hover {
    background: #fff8
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap
}

header>.shell {
    min-height: 90px;
    padding-block: 14px
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px
}

.logo img {
    width: 54px
}

.logo strong {
    font-size: 26px
}

.logo small {
    font-size: 7px
}

.topbar nav {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    gap: 8px 20px;
    font-size: 12px
}

.topbar nav a {
    display: block;
    min-height: 44px;
    padding-block: 12px
}

.topbar nav a[aria-current=page] {
    text-decoration: underline;
    text-decoration-color: #b88424;
    text-decoration-thickness: 2px;
    text-underline-offset: 8px
}

.menu-toggle {
    background: none;
    border: 1px solid #cabda3;
    border-radius: 8px;
    padding: 10px 12px;
    min-height: 44px;
    font-size: 13px
}

.topbar nav[hidden] {
    display: none
}

.new-hero {
    display: flex;
    flex-direction: column;
    background: #e9e0d1
}

.hero-image img {
    height: 340px;
    object-fit: cover;
    object-position: center 44%
}

.hero-copy {
    padding-block: 32px 38px
}

.hero-copy h1 {
    max-width: 11ch;
    margin-top: 12px
}

.hero-copy .lead {
    font-size: 18px;
    color: var(--ink);
    margin-bottom: 24px
}

.specialties {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    padding-block: 28px
}

.specialties a {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600
}

.number {
    color: #845010;
    font-size: 14px
}

.specialties .number {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    background: #f2ddb0;
    border-radius: 50%
}

.result {
    display: grid;
    gap: 28px
}

.result img {
    aspect-ratio: 4/3;
    object-fit: contain
}

.result h2 {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem)
}

.service-cards {
    display: grid;
    gap: 24px;
    grid-template-columns: minmax(0, 1fr)
}

.service-cards article {
    border: 1px solid #e0d6c2;
    border-radius: 6px;
    overflow: hidden;
    background: #fffaf2;
    scroll-margin-top: 20px
}

.service-cards article>img {
    aspect-ratio: 4/3;
    object-fit: cover
}

.card-copy {
    padding: 24px
}

.card-copy h3 {
    margin-top: 8px
}

.card-copy p {
    font-size: 14px
}

.value-grid {
    display: grid;
    gap: 22px
}

.value-grid h3 {
    font-family: Montserrat, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    padding-left: 18px;
    border-left: 3px solid #c49a52
}

.values {
    padding-block: 48px;
    background: #f0e6d5
}

.values h2 {
    margin-top: 0
}

.cta {
    background: var(--green);
    color: #fff7e8;
    padding-block: 56px
}

.cta .eyebrow {
    color: #f0c877
}

.cta h2 {
    max-width: 650px
}

.page-intro {
    background: #eae0ce;
    padding-block: 48px
}

.page-intro h1 {
    margin-top: 0
}

.page-intro .lead {
    margin-bottom: 0
}

.contact-panel {
    border-radius: 8px;
    background: #fffcf7
}

.contact-grid h1 {
    font-size: clamp(2.7rem, 5vw, 4.4rem)
}

.case-main img {
    max-height: 720px
}

.faq details {
    border-bottom: 1px solid #d7ccba
}

.faq summary {
    cursor: pointer;
    padding: 18px 0;
    font-weight: 600;
    font-size: 14px;
    min-height: 48px
}

.faq details p {
    font-size: 14px;
    margin: 0 0 20px
}

.footer-grid {
    display: grid;
    gap: 28px
}

footer {
    background: var(--green);
    color: var(--ivory);
    padding-block: 36px
}

footer p {
    color: #e9e5d8
}

footer nav {
    display: flex;
    gap: 8px 22px;
    flex-wrap: wrap;
    font-size: 12px
}

footer nav a {
    display: block;
    min-height: 44px;
    padding-block: 12px
}

.credits {
    border-top: 1px solid #ffffff40;
    margin-top: 20px;
    padding-top: 20px;
    display: flex;
    gap: 12px 24px;
    justify-content: space-between;
    flex-wrap: wrap
}

.credits p {
    margin: 0;
    font-size: 11px;
    line-height: 1.8
}

.contact-row {
    font-size: 15px
}

.statement {
    display: none
}

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

    .specialties {
        grid-template-columns: repeat(4, minmax(0, 1fr))
    }

    .value-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .hero-image img {
        height: 460px
    }
}

@media(min-width:900px) {
    .shell {
        width: min(1200px, calc(100% - 80px))
    }

    .section {
        padding-block: 74px
    }

    .topbar {
        flex-wrap: nowrap
    }

    .topbar nav {
        width: auto;
        gap: 28px
    }

    .menu-toggle {
        display: none !important
    }

    .topbar nav[hidden] {
        display: flex
    }

    .logo img {
        width: 64px
    }

    .logo strong {
        font-size: 30px
    }

    .new-hero {
        position: relative;
        min-height: 600px;
        justify-content: center;
        overflow: hidden
    }

    .hero-image {
        position: absolute;
        inset: 0 0 0 38%
    }

    .hero-image img {
        height: 100%;
        object-position: center 44%
    }

    .new-hero:after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(90deg, #e9e0d1 0%, #e9e0d1 31%, #e9e0d1e8 43%, #e9e0d100 65%);
        pointer-events: none
    }

    .hero-copy {
        position: relative;
        z-index: 1;
        padding-block: 68px
    }

    .hero-copy h1 {
        max-width: 10ch
    }

    .hero-copy .actions {
        max-width: 510px
    }

    .hero-copy .eyebrow {
        max-width: 400px
    }

    .specialties {
        padding-block: 35px
    }

    .result {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 48px
    }

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

    .card-copy {
        padding: 22px
    }

    .card-copy h3 {
        font-size: 1.4rem
    }

    .card-copy p {
        font-size: 13px
    }

    .value-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr))
    }

    .footer-grid {
        grid-template-columns: 1fr auto;
        align-items: center
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }
}

/* Portada: encuadre para la fotografía vertical de la pintora */
.new-hero .hero-image img {
  height: clamp(300px, 92vw, 440px);
  object-fit: cover;
  object-position: center top;
}
@media (min-width: 900px) {
  .new-hero .hero-image {
    left: auto;
    right: max(0px, calc((100% - 1200px) / 2));
    width: 48%;
    max-width: 520px;
  }
  .new-hero .hero-image img {
    height: 100%;
    object-fit: contain;
    object-position: center top;
  }
}