/* ============================================================
   Mattiello & Asoc. — Personalización sobre Crafto
   ============================================================ */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Libre+Baskerville:wght@400;700&display=swap");

:root {
    --mattiello-slate: #36454f;
    --mattiello-beige: #baad95;
    --mattiello-black: #000000;
    --mattiello-off-white: #f4f1eb;
    --mattiello-white: #ffffff;
    --mattiello-text: #2d3337;
    --mattiello-line: rgba(54, 69, 79, 0.2);
    --mattiello-heading-font: Baskerville, "Baskerville Old Face", "Libre Baskerville", Georgia, serif;
    --mattiello-body-font: "Inter", Arial, sans-serif;
    --mattiello-section-space: 130px;
    --mattiello-radius: 26px;
    --mattiello-radius-small: 14px;
    --mattiello-transition: 300ms ease;

    /* Variables consumidas por los componentes base de Crafto. */
    --base-color: #baad95;
    --dark-gray: #36454f;
    --medium-gray: #6e7478;
    --very-light-gray: #f4f1eb;
    --alt-font: Baskerville, "Baskerville Old Face", "Libre Baskerville", Georgia, serif;
    --primary-font: "Inter", Arial, sans-serif;
}

html {
    scroll-behavior: smooth;
}

section[id],
main[id] {
    scroll-margin-top: 88px;
}

body.mattiello-site {
    background-color: var(--mattiello-off-white);
    color: var(--mattiello-text);
    font-family: var(--mattiello-body-font);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
    overflow-x: hidden;
}

.mattiello-site h1,
.mattiello-site h2,
.mattiello-site h3,
.mattiello-site h4,
.mattiello-site h5,
.mattiello-site h6 {
    color: var(--mattiello-slate);
    font-family: var(--mattiello-heading-font);
    font-weight: 400;
    letter-spacing: -0.035em;
}

.mattiello-site p {
    color: inherit;
}

.mattiello-site a {
    transition: color var(--mattiello-transition), background-color var(--mattiello-transition), border-color var(--mattiello-transition), transform var(--mattiello-transition);
}

.mattiello-site ::selection {
    background: var(--mattiello-beige);
    color: var(--mattiello-black);
}

.mattiello-site :focus-visible {
    outline: 2px solid var(--mattiello-beige);
    outline-offset: 4px;
}

.mattiello-skip-link {
    background: var(--mattiello-white);
    border-radius: 0 0 8px 8px;
    color: var(--mattiello-black);
    font-size: 14px;
    font-weight: 600;
    left: 20px;
    padding: 12px 18px;
    position: fixed;
    top: 0;
    transform: translateY(-130%);
    transition: transform var(--mattiello-transition);
    z-index: 99999;
}

.mattiello-skip-link:focus {
    color: var(--mattiello-black);
    transform: translateY(0);
}

/* Header */
.mattiello-header .navbar {
    min-height: 96px;
    padding: 0;
    transition: background-color var(--mattiello-transition), min-height var(--mattiello-transition);
}

.mattiello-header .mattiello-nav-container {
    padding-right: 4.5vw;
    padding-left: 4.5vw;
}

.mattiello-header .navbar-nav {
    gap: 8px;
}

.mattiello-header .navbar-nav .nav-link {
    color: var(--mattiello-white);
    font-family: var(--mattiello-body-font);
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 0.01em;
    padding: 15px 14px;
}

.mattiello-header .navbar-nav .nav-link:hover,
.mattiello-header .navbar-nav .nav-item.active .nav-link {
    color: var(--mattiello-beige);
}

.mattiello-nav-isotype {
    display: block;
    height: 46px;
    position: relative;
    width: 46px;
}

.mattiello-nav-isotype img {
    height: 100%;
    inset: 0;
    position: absolute;
    transition: opacity var(--mattiello-transition), transform var(--mattiello-transition);
    width: 100%;
}

.mattiello-nav-isotype-hover {
    opacity: 0;
}

.mattiello-nav-isotype:hover .mattiello-nav-isotype-default {
    opacity: 0;
}

.mattiello-nav-isotype:hover .mattiello-nav-isotype-hover {
    opacity: 1;
}

.mattiello-nav-isotype:hover img {
    transform: scale(1.05);
}

.mattiello-nav-cta {
    align-items: center;
    background: var(--mattiello-white);
    border: 1px solid var(--mattiello-white);
    border-radius: 100px;
    color: var(--mattiello-black);
    display: inline-flex;
    font-size: 10px;
    font-weight: 600;
    justify-content: center;
    letter-spacing: 0.07em;
    line-height: 1.25;
    min-height: 44px;
    padding: 9px 19px;
    text-align: center;
    text-transform: uppercase;
}

.mattiello-nav-cta:hover {
    background: transparent;
    border-color: var(--mattiello-white);
    color: var(--mattiello-white);
    transform: translateY(-2px);
}

.mattiello-header.sticky .mattiello-nav-cta,
header.sticky.mattiello-header .mattiello-nav-cta {
    background: var(--mattiello-beige);
    border-color: var(--mattiello-beige);
    color: var(--mattiello-black);
}

.mattiello-header.sticky .mattiello-nav-cta:hover,
header.sticky.mattiello-header .mattiello-nav-cta:hover {
    background: transparent;
    color: var(--mattiello-beige);
}

.mattiello-header .navbar-toggler-line {
    background-color: var(--mattiello-white);
}

.mattiello-header.sticky .navbar,
header.sticky.mattiello-header .navbar {
    background-color: rgba(0, 0, 0, 0.94) !important;
    min-height: 76px;
}

.mattiello-header.sticky .navbar-nav .nav-link,
header.sticky.mattiello-header .navbar-nav .nav-link {
    color: var(--mattiello-white);
}

/* Hero */
.mattiello-hero {
    background-image: url("../images/assets/FM_img-hero.jpg");
    background-image: image-set(
        url("../images/assets/estudio-juridico-mattiello-san-fernando-hero.avif") type("image/avif"),
        url("../images/assets/FM_img-hero.jpg") type("image/jpeg")
    );
    background-position: center center;
    min-height: 820px;
    height: 100vh;
    position: relative;
}

.mattiello-hero-overlay {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.28) 35%, rgba(0, 0, 0, 0.68) 100%),
        linear-gradient(90deg, rgba(0, 0, 0, 0.22), transparent 55%);
    inset: 0;
    position: absolute;
}

.mattiello-hero-logo {
    height: auto;
    max-width: 500px;
    width: min(78vw, 500px);
}

.mattiello-scroll-cue {
    align-items: center;
    bottom: 38px;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    flex-direction: column;
    font-size: 10px;
    gap: 5px;
    left: 50%;
    letter-spacing: 0.18em;
    position: absolute;
    text-transform: uppercase;
    transform: translateX(-50%);
    z-index: 2;
}

.mattiello-scroll-cue i {
    font-size: 18px;
}

.mattiello-scroll-cue:hover {
    color: var(--mattiello-beige);
}

/* Barra de contacto */
.mattiello-contact-bar {
    background: var(--mattiello-beige);
    color: var(--mattiello-black);
}

.mattiello-contact-item {
    align-items: center;
    color: var(--mattiello-black);
    display: flex;
    font-size: 14px;
    gap: 12px;
    justify-content: center;
    min-height: 72px;
    padding: 14px 22px;
    text-align: center;
}

.mattiello-contact-item i {
    color: var(--mattiello-slate);
    font-size: 19px;
    flex-shrink: 0;
}

.mattiello-contact-item:hover {
    background-color: rgba(255, 255, 255, 0.24);
    color: var(--mattiello-black);
}

.mattiello-contact-bar .col:not(:last-child) .mattiello-contact-item {
    border-right: 1px solid rgba(0, 0, 0, 0.15);
}

/* Elementos compartidos */
.mattiello-eyebrow {
    color: var(--mattiello-slate);
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.17em;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.mattiello-eyebrow::before {
    background-color: currentColor;
    content: "";
    display: inline-block;
    height: 1px;
    margin: 0 12px 4px 0;
    width: 28px;
}

.mattiello-eyebrow-light {
    color: var(--mattiello-beige);
}

.mattiello-section-title {
    font-size: clamp(48px, 5.1vw, 76px);
    line-height: 1.04;
    margin-bottom: 30px;
}

.btn-mattiello {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 100px;
    display: inline-flex;
    font-family: var(--mattiello-body-font);
    font-size: 12px;
    font-weight: 600;
    justify-content: center;
    letter-spacing: 0.07em;
    min-height: 52px;
    padding: 14px 27px;
    text-align: center;
    text-transform: uppercase;
}

.btn-mattiello-dark {
    background-color: var(--mattiello-slate);
    border-color: var(--mattiello-slate);
    color: var(--mattiello-white);
}

.btn-mattiello-dark:hover {
    background-color: var(--mattiello-black);
    border-color: var(--mattiello-black);
    color: var(--mattiello-white);
    transform: translateY(-2px);
}

.btn-mattiello-outline {
    background: transparent;
    border-color: var(--mattiello-slate);
    color: var(--mattiello-slate);
}

.btn-mattiello-outline:hover {
    background-color: var(--mattiello-slate);
    color: var(--mattiello-white);
    transform: translateY(-2px);
}

.btn-mattiello-beige {
    background-color: var(--mattiello-beige);
    border-color: var(--mattiello-beige);
    color: var(--mattiello-black);
}

.btn-mattiello-beige:hover {
    background-color: var(--mattiello-white);
    border-color: var(--mattiello-white);
    color: var(--mattiello-black);
    transform: translateY(-2px);
}

/* Presentación */
.mattiello-presentation {
    background-color: var(--mattiello-off-white);
    background-image: url("../images/assets/FM_img-seccion-dos-arquitectura.jpg");
    background-image: image-set(
        url("../images/assets/estudio-juridico-mattiello-arquitectura.avif") type("image/avif"),
        url("../images/assets/FM_img-seccion-dos-arquitectura.jpg") type("image/jpeg")
    );
    background-position: left center !important;
    min-height: 800px;
    padding: 115px 0;
    position: relative;
}

.mattiello-presentation::before {
    background: linear-gradient(90deg, rgba(244, 241, 235, 0.98) 0%, rgba(244, 241, 235, 0.92) 47%, rgba(244, 241, 235, 0) 76%);
    content: "";
    inset: 0;
    position: absolute;
}

.mattiello-presentation .container {
    position: relative;
    z-index: 1;
}

.mattiello-presentation-copy {
    max-width: 780px;
    padding: 0;
}

.mattiello-presentation-copy h1 {
    color: var(--mattiello-black);
    font-size: clamp(55px, 5.5vw, 82px);
    line-height: 0.98;
    margin-bottom: 35px;
    max-width: 900px;
}

.mattiello-presentation-copy p {
    font-size: 18px;
    line-height: 1.65;
    margin-bottom: 0;
    max-width: 720px;
}

/* El estudio */
.mattiello-about {
    background: var(--mattiello-slate);
    color: rgba(255, 255, 255, 0.82);
    padding: var(--mattiello-section-space) 0;
}

.mattiello-about .mattiello-section-title {
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
}

.mattiello-about-copy {
    font-size: 18px;
    line-height: 1.75;
}

.mattiello-about-copy p {
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 22px;
}

.mattiello-about-copy p:last-child {
    margin-bottom: 0;
}

/* Áreas */
.mattiello-areas {
    background: var(--mattiello-beige);
    color: var(--mattiello-slate);
    padding: var(--mattiello-section-space) 0;
}

.mattiello-areas-intro {
    max-width: 390px;
    position: sticky;
    top: 130px;
}

.mattiello-areas-intro p {
    font-size: 18px;
    line-height: 1.65;
}

.mattiello-accordion .accordion-item {
    background: var(--mattiello-white);
    border: 0;
    border-radius: var(--mattiello-radius);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
    margin-bottom: 18px;
    overflow: hidden;
}

.mattiello-accordion .accordion-item:last-child {
    margin-bottom: 0;
}

.mattiello-accordion .accordion-header {
    border: 0;
    height: auto;
    margin: 0;
    min-height: 0;
}

.mattiello-accordion .mattiello-accordion-trigger {
    align-items: center;
    background: transparent;
    border: 0;
    color: inherit;
    cursor: pointer;
    display: flex;
    height: auto;
    line-height: 1;
    min-height: 0;
    padding: 24px 34px;
    text-align: left;
    width: 100%;
}

.mattiello-accordion .accordion-collapse {
    padding: 0;
}

.mattiello-accordion .accordion-title {
    align-items: center;
    color: var(--mattiello-slate);
    display: flex;
    font-family: var(--mattiello-heading-font);
    font-size: clamp(30px, 3.1vw, 46px);
    justify-content: space-between;
    letter-spacing: -0.035em;
    line-height: 1.1;
    min-height: 46px;
    padding-right: 0;
    position: relative;
    width: 100%;
}

.mattiello-accordion .accordion-title i {
    align-items: center;
    border: 2px solid var(--mattiello-slate);
    border-radius: 50%;
    display: flex;
    flex-shrink: 0;
    font-size: 18px;
    height: 46px;
    justify-content: center;
    margin-left: 24px;
    position: static;
    transform: none;
    width: 46px;
}

.mattiello-accordion .accordion-body {
    border-top: 1px solid var(--mattiello-line);
    color: var(--mattiello-text);
    padding: 30px 34px 36px;
}

.mattiello-accordion .accordion-body h4 {
    color: var(--mattiello-slate);
    font-family: var(--mattiello-body-font);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0;
    margin: 22px 0 5px;
}

.mattiello-accordion .accordion-body h4:first-child {
    margin-top: 0;
}

.mattiello-accordion .accordion-body p {
    line-height: 1.65;
    margin-bottom: 0;
}

/* Metodología */
.mattiello-method {
    background: var(--mattiello-white);
    padding: var(--mattiello-section-space) 0;
}

.mattiello-method-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--mattiello-beige);
    border-radius: var(--mattiello-radius);
    height: 100%;
    min-height: 375px;
    padding: 52px 46px;
    position: relative;
    transition: transform var(--mattiello-transition), box-shadow var(--mattiello-transition);
}

.mattiello-method-card:hover {
    box-shadow: 0 20px 45px rgba(54, 69, 79, 0.13);
    transform: translateY(-7px);
}

.mattiello-method-card h3 {
    font-size: clamp(32px, 3vw, 43px);
    line-height: 1.1;
    margin-bottom: 24px;
}

.mattiello-method-card p {
    color: var(--mattiello-slate);
    line-height: 1.65;
    margin-bottom: 0;
}

/* Publicaciones */
.mattiello-publications {
    background: var(--mattiello-off-white);
    border-top: 12px solid var(--mattiello-slate);
    padding: var(--mattiello-section-space) 0;
}

.mattiello-publications p {
    font-size: 17px;
    line-height: 1.7;
}

.mattiello-publications-intro {
    margin-bottom: 30px;
    max-width: 390px;
}

.mattiello-publications .mattiello-section-title {
    hyphens: none;
    overflow-wrap: normal;
    word-break: normal;
}

.mattiello-slider-navigation {
    gap: 8px;
}

.mattiello-slider-navigation .swiper-button-prev,
.mattiello-slider-navigation .swiper-button-next {
    align-items: center;
    background: var(--mattiello-slate);
    border: 0;
    border-radius: 50%;
    color: var(--mattiello-white);
    display: flex;
    height: 46px;
    justify-content: center;
    left: auto;
    margin: 0;
    position: relative;
    right: auto;
    top: auto;
    width: 46px;
}

.mattiello-slider-navigation .swiper-button-prev::after,
.mattiello-slider-navigation .swiper-button-next::after {
    display: none;
}

.mattiello-slider-navigation .swiper-button-prev:hover,
.mattiello-slider-navigation .swiper-button-next:hover {
    background: var(--mattiello-black);
}

.mattiello-slider-navigation .swiper-button-disabled {
    opacity: 0.35;
}

.mattiello-publications-slider {
    overflow: visible;
    padding-bottom: 45px;
}

@media (min-width: 992px) {
    .mattiello-publications-copy {
        position: relative;
        z-index: 2;
    }

    .mattiello-publications-carousel {
        min-width: 0;
    }

    .mattiello-publications-viewport {
        margin-block: -32px;
        overflow: hidden;
        padding-block: 32px;
    }
}

.mattiello-publications-slider .swiper-slide {
    height: auto;
}

.mattiello-publication-card {
    background: var(--mattiello-white);
    border-radius: var(--mattiello-radius-small);
    box-shadow: 0 10px 32px rgba(54, 69, 79, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.mattiello-publication-image {
    align-items: center;
    background: var(--mattiello-beige);
    display: flex;
    height: 290px;
    justify-content: center;
    overflow: hidden;
    padding: 12px;
}

.mattiello-publication-image img {
    height: 100%;
    object-fit: contain;
    transition: transform 500ms ease;
    width: 100%;
}

.mattiello-publication-image picture {
    display: block;
    height: 100%;
    width: 100%;
}

.mattiello-publication-card:hover .mattiello-publication-image img {
    transform: scale(1.035);
}

.mattiello-publication-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 28px 25px 26px;
}

.mattiello-publication-category {
    color: var(--mattiello-slate);
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.11em;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.mattiello-publication-content h3 {
    color: var(--mattiello-black);
    font-family: var(--mattiello-body-font);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.02em;
    line-height: 1.35;
    margin-bottom: 14px;
}

.mattiello-publication-content p {
    color: #666b6e;
    font-size: 12px;
    line-height: 1.55;
    margin-bottom: 24px;
}

.mattiello-publication-link {
    align-self: flex-start;
    background-color: var(--mattiello-slate);
    border-radius: 100px;
    color: var(--mattiello-white);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.07em;
    margin-top: auto;
    padding: 10px 18px;
    text-transform: uppercase;
}

.mattiello-publication-link:hover {
    background-color: var(--mattiello-black);
    color: var(--mattiello-white);
}

.mattiello-publication-link.is-disabled {
    cursor: default;
    opacity: 0.55;
}

.mattiello-publications-pagination {
    bottom: 0 !important;
}

.mattiello-publications-pagination .swiper-pagination-bullet {
    background: var(--mattiello-slate);
    height: 6px;
    opacity: 0.28;
    width: 6px;
}

.mattiello-publications-pagination .swiper-pagination-bullet-active {
    opacity: 1;
}

/* Reseñas */
.mattiello-reviews {
    background: var(--mattiello-slate);
    color: rgba(255, 255, 255, 0.78);
    padding: var(--mattiello-section-space) 0;
}

.mattiello-reviews .row > div > p {
    color: rgba(255, 255, 255, 0.76);
    font-size: 17px;
}

.mattiello-reviews-slider {
    padding-bottom: 55px;
}

.mattiello-reviews-slider .swiper-slide {
    height: auto;
}

.mattiello-review-card {
    background: var(--mattiello-black);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--mattiello-radius);
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 355px;
    padding: 42px 38px;
}

.mattiello-review-stars {
    color: var(--mattiello-beige);
    display: flex;
    font-size: 14px;
    gap: 4px;
    margin-bottom: 38px;
}

.mattiello-review-card blockquote {
    color: var(--mattiello-white);
    font-family: var(--mattiello-heading-font);
    font-size: 23px;
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.5;
    margin: 0 0 32px;
}

.mattiello-review-author {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--mattiello-white);
    font-size: 14px;
    font-weight: 500;
    margin: auto 0 0;
    padding-top: 20px;
}

.reviews-pagination {
    bottom: 0 !important;
}

.reviews-pagination .swiper-pagination-bullet {
    background: var(--mattiello-white);
    height: 6px;
    opacity: 0.35;
    width: 6px;
}

.reviews-pagination .swiper-pagination-bullet-active {
    opacity: 1;
}

/* Preguntas frecuentes */
.mattiello-faq {
    background: var(--mattiello-black);
    color: rgba(255, 255, 255, 0.72);
    padding: var(--mattiello-section-space) 0;
}

.mattiello-faq .row > div > p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 17px;
}

.mattiello-faq-list {
    border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.mattiello-faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.mattiello-faq-item summary {
    align-items: center;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    list-style: none;
    padding: 30px 8px;
}

.mattiello-faq-item summary::-webkit-details-marker {
    display: none;
}

.mattiello-faq-item summary::after {
    color: var(--mattiello-beige);
    content: "+";
    flex: 0 0 auto;
    font-family: var(--mattiello-body-font);
    font-size: 30px;
    font-weight: 300;
    line-height: 1;
    margin-left: 30px;
}

.mattiello-faq-item[open] summary::after {
    content: "−";
}

.mattiello-faq-item summary h3 {
    color: var(--mattiello-white);
    font-family: var(--mattiello-heading-font);
    font-size: clamp(24px, 2.4vw, 34px);
    font-weight: 400;
    letter-spacing: -0.025em;
    line-height: 1.3;
    margin: 0;
}

.mattiello-faq-answer {
    max-width: 900px;
    padding: 0 70px 30px 8px;
}

.mattiello-faq-answer p {
    color: rgba(255, 255, 255, 0.74);
    margin: 0;
}

/* Contacto */
.mattiello-contact {
    background: var(--mattiello-slate);
    padding: var(--mattiello-section-space) 0;
}

.mattiello-contact-panel {
    border-radius: var(--mattiello-radius);
    box-shadow: 0 24px 65px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.mattiello-map-wrap {
    height: 100%;
    min-height: 730px;
}

.mattiello-map-wrap iframe {
    border: 0;
    filter: grayscale(0.35) saturate(0.72);
    height: 100%;
    width: 100%;
}

.mattiello-contact-form-wrap {
    background: var(--mattiello-black);
    color: rgba(255, 255, 255, 0.68);
    height: 100%;
    padding: 80px 70px;
}

.mattiello-contact-form-wrap h2 {
    color: var(--mattiello-white);
    font-size: clamp(46px, 4.6vw, 68px);
    line-height: 1.05;
    margin-bottom: 25px;
}

.mattiello-contact-form-wrap > p {
    color: rgba(255, 255, 255, 0.62);
    margin-bottom: 18px;
}

.mattiello-contact-direct {
    display: flex;
    flex-wrap: wrap;
    font-size: 13px;
    font-style: normal;
    gap: 6px 18px;
    margin: 0 0 30px;
}

.mattiello-contact-direct a {
    color: var(--mattiello-beige);
}

.mattiello-contact-direct a:hover {
    color: var(--mattiello-white);
}

.mattiello-contact-form .form-group {
    margin-bottom: 16px;
}

.mattiello-contact-form label {
    color: rgba(255, 255, 255, 0.82);
    display: block;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.02em;
    margin-bottom: 7px;
}

.mattiello-contact-form .form-control {
    background: var(--mattiello-white);
    border: 1px solid transparent;
    border-radius: 11px;
    color: var(--mattiello-black);
    font-family: var(--mattiello-body-font);
    font-size: 14px;
    min-height: 56px;
    padding: 14px 20px;
}

.mattiello-contact-form textarea.form-control {
    min-height: 145px;
    resize: vertical;
}

.mattiello-contact-form .form-control::placeholder {
    color: #666d71;
    opacity: 1;
}

.mattiello-contact-form .form-control:focus {
    border-color: var(--mattiello-beige);
    box-shadow: 0 0 0 3px rgba(186, 173, 149, 0.2);
}

.mattiello-contact-form .form-control.is-invalid {
    border-color: #ba5b5b;
}

.mattiello-contact-form .btn-mattiello {
    margin-top: 12px;
    min-width: 135px;
}

.mattiello-contact-form .btn-mattiello:disabled {
    cursor: wait;
    opacity: 0.68;
}

.mattiello-form-trap {
    height: 1px;
    left: -10000px;
    overflow: hidden;
    position: absolute;
    top: auto;
    width: 1px;
}

.mattiello-form-result {
    color: var(--mattiello-beige);
    font-size: 13px;
    line-height: 1.5;
    min-height: 20px;
    padding-top: 15px;
}

.mattiello-form-result.is-success {
    color: #c8d9bd;
}

.mattiello-form-result.is-error {
    color: #f0a8a8;
}

/* Footer */
.mattiello-footer {
    background: var(--mattiello-black);
    color: rgba(255, 255, 255, 0.68);
    padding: 95px 0 0;
}

.mattiello-footer-logo {
    height: auto;
    max-width: 390px;
    width: 100%;
}

.mattiello-footer-description {
    color: rgba(255, 255, 255, 0.68);
    font-size: 14px;
    line-height: 1.65;
    margin: 28px 0 0;
    max-width: 470px;
}

.mattiello-footer-heading {
    color: var(--mattiello-beige);
    font-family: var(--mattiello-body-font);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.13em;
    margin-bottom: 22px;
    text-transform: uppercase;
}

.mattiello-footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mattiello-footer-links li {
    margin-bottom: 8px;
}

.mattiello-footer-links a,
.mattiello-footer-contact a {
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
}

.mattiello-footer-links a:hover,
.mattiello-footer-contact a:hover {
    color: var(--mattiello-white);
}

.mattiello-footer-contact {
    display: flex;
    flex-direction: column;
    font-size: 14px;
    font-style: normal;
    gap: 8px;
    line-height: 1.55;
    margin: 0;
}

.mattiello-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.62);
    font-size: 11px;
    letter-spacing: 0.03em;
    margin-top: 70px;
    padding: 25px 0;
}

/* Responsive: notebooks y tablets horizontales */
@media (max-width: 1199px) {
    :root {
        --mattiello-section-space: 105px;
    }

    .mattiello-header .mattiello-nav-container {
        padding-right: 28px;
        padding-left: 28px;
    }

    .mattiello-header .navbar-nav {
        gap: 4px;
    }

    .mattiello-header .navbar-nav .nav-link {
        padding-right: 9px;
        padding-left: 9px;
    }

    .mattiello-nav-cta {
        font-size: 10px;
        padding-right: 14px;
        padding-left: 14px;
    }

    .mattiello-presentation {
        min-height: 740px;
        padding: 100px 0;
    }

    .mattiello-presentation-copy h1 {
        font-size: 68px;
    }

    .mattiello-method-card {
        padding: 44px 34px;
    }

    .mattiello-publication-image {
        height: 250px;
    }

    .mattiello-contact-form-wrap {
        padding: 65px 50px;
    }
}

/* Responsive: tablet vertical */
@media (max-width: 991px) {
    :root {
        --mattiello-section-space: 90px;
    }

    .mattiello-header .navbar {
        min-height: 78px;
    }

    .mattiello-header .navbar-collapse {
        background: var(--mattiello-black);
        border-radius: 0 0 18px 18px;
        left: 15px;
        padding: 18px 24px 24px;
        position: absolute;
        right: 15px;
        top: 76px;
    }

    .mattiello-header .menu-order {
        align-items: center;
        display: flex;
        margin-left: auto;
        width: auto;
    }

    .mattiello-header .navbar-toggler {
        display: flex !important;
        margin-left: auto;
        position: relative;
        z-index: 2;
    }

    .mattiello-header .navbar-nav .nav-link {
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
        color: var(--mattiello-white);
        padding: 13px 0;
    }

    .mattiello-header .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: 0;
    }

    .mattiello-hero {
        min-height: 720px;
        height: 88vh;
    }

    .mattiello-contact-bar .container {
        max-width: none;
        padding: 0;
    }

    .mattiello-contact-item {
        font-size: 12px;
        padding-right: 14px;
        padding-left: 14px;
    }

    .mattiello-presentation {
        background-position: 58% center !important;
        min-height: 720px;
        padding: 90px 0;
    }

    .mattiello-presentation-copy {
        max-width: 650px;
    }

    .mattiello-presentation-copy h1 {
        font-size: 66px;
    }

    .mattiello-areas-intro {
        max-width: 650px;
        position: static;
    }

    .mattiello-method-card {
        min-height: 320px;
    }

    .mattiello-publications {
        border-top-width: 8px;
    }

    .mattiello-contact-panel {
        border-radius: 20px;
    }

    .mattiello-map-wrap {
        min-height: 480px;
    }

    .mattiello-contact-form-wrap {
        padding: 70px 8vw;
    }

    .mattiello-footer {
        padding-top: 80px;
    }
}

/* Responsive: móviles grandes y tablets pequeñas */
@media (max-width: 767px) {
    :root {
        --mattiello-section-space: 75px;
        --mattiello-radius: 20px;
    }

    body.mattiello-site {
        font-size: 16px;
    }

    .mattiello-header .mattiello-nav-container {
        padding-right: 20px;
        padding-left: 20px;
    }

    .mattiello-nav-isotype {
        height: 38px;
        width: 38px;
    }

    .mattiello-hero {
        background-position: 45% center;
        min-height: 650px;
        height: 86vh;
    }

    .mattiello-scroll-cue {
        bottom: 25px;
    }

    .mattiello-contact-item {
        justify-content: flex-start;
        min-height: 58px;
        padding: 12px 24px;
        text-align: left;
    }

    .mattiello-contact-bar .col:not(:last-child) .mattiello-contact-item {
        border-bottom: 1px solid rgba(0, 0, 0, 0.14);
        border-right: 0;
    }

    .mattiello-section-title {
        font-size: 48px;
    }

    .mattiello-presentation {
        background-blend-mode: multiply;
        background-color: #e2ddd3;
        background-position: right center !important;
        min-height: 720px;
        padding: 75px 0;
    }

    .mattiello-presentation-copy {
        padding: 38px 0;
    }

    .mattiello-presentation::before {
        background: linear-gradient(90deg, rgba(244, 241, 235, 0.97) 0%, rgba(244, 241, 235, 0.88) 58%, rgba(244, 241, 235, 0.12) 100%);
    }

    .mattiello-presentation-copy h1 {
        font-size: 52px;
        line-height: 1.01;
    }

    .mattiello-presentation-copy p {
        font-size: 16px;
    }

    .mattiello-about-copy {
        font-size: 16px;
    }

    .mattiello-accordion .mattiello-accordion-trigger {
        padding: 20px 24px;
    }

    .mattiello-accordion .accordion-title {
        font-size: 31px;
    }

    .mattiello-accordion .accordion-title i {
        font-size: 14px;
        height: 38px;
        width: 38px;
    }

    .mattiello-accordion .accordion-body {
        padding: 26px 24px 30px;
    }

    .mattiello-method-card {
        min-height: 0;
        padding: 38px 32px;
    }

    .mattiello-publication-image {
        height: 310px;
    }

    .mattiello-review-card {
        min-height: 330px;
        padding: 36px 30px;
    }

    .mattiello-review-card blockquote {
        font-size: 22px;
    }

    .mattiello-faq-item summary {
        padding: 24px 0;
    }

    .mattiello-faq-answer {
        padding: 0 45px 25px 0;
    }

    .mattiello-map-wrap {
        min-height: 390px;
    }

    .mattiello-contact-form-wrap {
        padding: 60px 28px;
    }

    .mattiello-contact-form-wrap h2 {
        font-size: 47px;
    }

    .mattiello-footer-logo {
        max-width: 350px;
    }

    .mattiello-footer-bottom {
        margin-top: 50px;
    }
}

/* Responsive: referencia solicitada de 390 px */
@media (max-width: 480px) {
    .mattiello-hero {
        min-height: 620px;
    }

    .mattiello-hero-logo {
        max-width: calc(100vw - 64px) !important;
        width: calc(100vw - 64px) !important;
    }

    .mattiello-section-title,
    .mattiello-presentation-copy h1,
    .mattiello-contact-form-wrap h2 {
        font-size: 42px;
    }

    .mattiello-eyebrow {
        font-size: 10px;
        margin-bottom: 16px;
    }

    .mattiello-eyebrow::before {
        width: 22px;
    }

    .btn-mattiello {
        font-size: 10px;
        min-height: 48px;
        padding: 12px 20px;
    }

    .mattiello-presentation {
        background-position: right center !important;
        min-height: 680px;
    }

    .mattiello-presentation-copy {
        padding: 32px 0;
    }

    .mattiello-presentation-copy .gap-3 {
        gap: 10px !important;
    }

    .mattiello-accordion .accordion-title {
        font-size: 27px;
    }

    .mattiello-accordion .accordion-title i {
        margin-left: 14px;
    }

    .mattiello-publication-image {
        height: 285px;
    }

    .mattiello-contact {
        padding-right: 12px;
        padding-left: 12px;
    }

    .mattiello-contact-form-wrap {
        padding: 50px 22px;
    }

    .mattiello-footer {
        padding-top: 70px;
    }
}

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

    .mattiello-site *,
    .mattiello-site *::before,
    .mattiello-site *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .mattiello-site [data-anime],
    .mattiello-site [data-anime] * {
        opacity: 1 !important;
        transform: none !important;
    }
}
