/* =========================================================
       VARIABLES
       ========================================================= */

    :root {
      --black: #11110f;
      --black-soft: #181815;
      --dark: #20201c;

      /* Paleta clara cálida alineada al negro y dorado del logo */
      --cream: #f7f4ec;
      --cream-dark: #ece5d5;
      --white: #fdfcf8;

      --text: #1c1a15;
      --text-soft: #57524a;
      --text-light: #948e80;

      --line: rgba(28, 28, 25, 0.12);
      --line-dark: rgba(255, 255, 255, 0.13);

      --accent: #b98a2e;
      --accent-dark: #96701f;

      --serif: "DM Serif Display", Georgia, serif;
      --sans: "Manrope", Arial, sans-serif;

      --container: 1240px;

      --radius-sm: 6px;
      --radius-md: 12px;
      --radius-lg: 20px;

      --shadow-soft: 0 15px 50px rgba(0, 0, 0, 0.08);
      --shadow-large: 0 25px 80px rgba(0, 0, 0, 0.15);

      --transition: 300ms cubic-bezier(.2,.8,.2,1);
    }

    /* =========================================================
       RESET
       ========================================================= */

    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      scroll-padding-top: 90px;
    }

    body {
      font-family: var(--sans);
      background: var(--cream);
      color: var(--text);
      line-height: 1.6;
      overflow-x: hidden;
    }

    body.modal-open {
      overflow: hidden;
    }

    img {
      display: block;
      width: 100%;
      max-width: 100%;
    }

    button,
    input,
    textarea,
    select {
      font: inherit;
    }

    button {
      cursor: pointer;
    }

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

    ul {
      list-style: none;
    }

    ::selection {
      background: var(--accent);
      color: var(--white);
    }

    /* =========================================================
       UTILIDADES
       ========================================================= */

    .container {
      width: min(var(--container), calc(100% - 80px));
      margin-inline: auto;
    }

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

      font-size: 11px;
      font-weight: 800;
      letter-spacing: 0.2em;
      text-transform: uppercase;

      color: var(--accent);
    }

    .eyebrow::before {
      content: "";
      width: 34px;
      height: 1px;
      background: currentColor;
    }

    .section-title {
      max-width: 800px;

      margin-top: 18px;

      font-family: var(--serif);
      font-size: clamp(42px, 5vw, 72px);
      font-weight: 400;
      line-height: 1.03;
      letter-spacing: -0.025em;
    }

    .section-description {
      max-width: 620px;
      margin-top: 22px;

      color: var(--text-soft);
      font-size: 16px;
      line-height: 1.8;
    }

    /* =========================================================
       HEADER
       ========================================================= */

    .site-header {
      position: fixed;
      inset: 0 0 auto 0;
      z-index: 1000;

      height: 86px;

      display: flex;
      align-items: center;

      background: rgba(17, 17, 15, 0.88);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);

      border-bottom: 1px solid rgba(255,255,255,.08);
    }

    .header-inner {
      width: min(var(--container), calc(100% - 80px));
      margin-inline: auto;

      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 30px;
    }

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

      color: var(--white);
    }

    .brand img {
      width: 46px;
      height: 46px;
      object-fit: contain;
    }

    .brand-text {
      display: flex;
      flex-direction: column;
      line-height: 1.05;
    }

    .brand-name {
      font-size: 13px;
      font-weight: 800;
      letter-spacing: .16em;
      text-transform: uppercase;
    }

    .brand-subtitle {
      margin-top: 5px;

      color: rgba(255,255,255,.48);

      font-size: 8px;
      font-weight: 600;
      letter-spacing: .22em;
      text-transform: uppercase;
    }

    .main-nav {
      display: flex;
      align-items: center;
      gap: 32px;
    }

    .main-nav a {
      position: relative;

      color: rgba(255,255,255,.7);

      font-size: 12px;
      font-weight: 700;
      letter-spacing: .08em;
      text-transform: uppercase;

      transition: color var(--transition);
    }

    .main-nav a::after {
      content: "";

      position: absolute;
      left: 0;
      bottom: -8px;

      width: 0;
      height: 1px;

      background: var(--accent);

      transition: width var(--transition);
    }

    .main-nav a:hover {
      color: var(--white);
    }

    .main-nav a:hover::after {
      width: 100%;
    }

    .header-cta {
      padding: 12px 20px;

      border: 1px solid rgba(255,255,255,.25);
      border-radius: 100px;

      color: var(--white);

      font-size: 11px;
      font-weight: 800;
      letter-spacing: .1em;
      text-transform: uppercase;

      transition: all var(--transition);
    }

    .header-cta:hover {
      background: var(--white);
      border-color: var(--white);
      color: var(--black);
    }

    .menu-toggle {
      display: none;

      width: 46px;
      height: 46px;

      border: 1px solid rgba(255,255,255,.2);
      border-radius: 50%;

      background: transparent;
      color: var(--white);
    }

    .menu-toggle span {
      display: block;
      width: 18px;
      height: 1px;

      margin: 4px auto;

      background: currentColor;

      transition: transform var(--transition);
    }

    /* =========================================================
       HERO
       ========================================================= */

    .hero {
      position: relative;

      min-height: 100svh;

      display: flex;
      align-items: center;

      background:
        linear-gradient(
          90deg,
          rgba(10,10,9,.88) 0%,
          rgba(10,10,9,.66) 42%,
          rgba(10,10,9,.20) 100%
        ),
        var(--hero-image, url("imagenes/hero.webp")) center/cover no-repeat;

      color: var(--white);
    }

    .hero::after {
      content: "";

      position: absolute;
      inset: auto 0 0 0;

      height: 180px;

      background: linear-gradient(
        to top,
        rgba(17,17,15,.65),
        transparent
      );

      pointer-events: none;
    }

    .hero-content {
      position: relative;
      z-index: 2;

      width: min(var(--container), calc(100% - 80px));
      margin-inline: auto;

      padding-top: 86px;
    }

    .hero-kicker {
      display: flex;
      align-items: center;
      gap: 14px;

      margin-bottom: 25px;

      color: var(--accent);

      font-size: 11px;
      font-weight: 800;
      letter-spacing: .22em;
      text-transform: uppercase;
    }

    .hero-kicker::before {
      content: "";

      width: 42px;
      height: 1px;

      background: currentColor;
    }

    .hero h1 {
      max-width: 900px;

      font-family: var(--serif);
      font-size: clamp(58px, 8vw, 112px);
      font-weight: 400;
      line-height: .94;
      letter-spacing: -.035em;
    }

    .hero h1 em {
      color: var(--accent);
      font-style: italic;
    }

    .hero-text {
      max-width: 570px;

      margin-top: 30px;

      color: rgba(255,255,255,.72);

      font-size: 16px;
      line-height: 1.8;
    }

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

      margin-top: 38px;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;

      min-height: 52px;

      padding: 0 25px;

      border-radius: 100px;

      font-size: 11px;
      font-weight: 800;
      letter-spacing: .12em;
      text-transform: uppercase;

      transition: all var(--transition);
    }

    .btn-primary {
      background: var(--white);
      color: var(--black);
    }

    .btn-primary:hover {
      transform: translateY(-3px);
      box-shadow: 0 15px 35px rgba(0,0,0,.2);
    }

    .btn-outline {
      border: 1px solid rgba(255,255,255,.32);
      color: var(--white);
    }

    .btn-outline:hover {
      background: rgba(255,255,255,.1);
      border-color: rgba(255,255,255,.7);
    }

    .hero-scroll {
      position: absolute;
      z-index: 3;

      right: 6%;
      bottom: 45px;

      display: flex;
      align-items: center;
      gap: 14px;

      color: rgba(255,255,255,.55);

      font-size: 9px;
      font-weight: 800;
      letter-spacing: .2em;
      text-transform: uppercase;

      writing-mode: vertical-rl;
    }

    .hero-scroll::after {
      content: "";

      width: 1px;
      height: 55px;

      background: rgba(255,255,255,.4);
    }

    /* =========================================================
       INTRO / FEATURES
       ========================================================= */

    .intro {
      padding: 125px 0;
    }

    .intro-grid {
      display: grid;
      grid-template-columns: 1.2fr .8fr;
      gap: 100px;
      align-items: end;
    }

    .intro-title {
      max-width: 780px;

      font-family: var(--serif);
      font-size: clamp(42px, 5vw, 70px);
      font-weight: 400;
      line-height: 1.06;
      letter-spacing: -.025em;
    }

    .intro-title span {
      color: var(--accent);
    }

    .intro-side {
      padding-bottom: 6px;
    }

    .intro-side p {
      color: var(--text-soft);

      font-size: 15px;
      line-height: 1.9;
    }

    .feature-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);

      margin-top: 90px;

      border-top: 1px solid var(--line);
    }

    .feature {
      padding: 34px 32px 30px 0;

      border-right: 1px solid var(--line);
    }

    .feature:not(:first-child) {
      padding-left: 32px;
    }

    .feature:last-child {
      border-right: none;
    }

    .feature-number {
      margin-bottom: 40px;

      color: var(--accent);

      font-size: 11px;
      font-weight: 800;
      letter-spacing: .15em;
    }

    .feature h3 {
      margin-bottom: 12px;

      font-family: var(--serif);
      font-size: 27px;
      font-weight: 400;
    }

    .feature p {
      max-width: 340px;

      color: var(--text-soft);

      font-size: 13px;
      line-height: 1.8;
    }

    /* =========================================================
       SERVICIOS
       ========================================================= */

    .services {
      padding: 125px 0;

      background: var(--black);
      color: var(--white);
    }

    .services .section-description {
      color: rgba(255,255,255,.55);
    }

    .services-header {
      display: flex;
      justify-content: space-between;
      align-items: end;
      gap: 50px;
    }

    .services-header .section-title {
      max-width: 750px;
    }

    .services-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);

      gap: 14px;

      margin-top: 70px;
    }

    .service-card {
      position: relative;

      min-height: 530px;

      overflow: hidden;

      border-radius: var(--radius-md);

      background: var(--dark);
    }

    .service-card::before {
      content: "";

      position: absolute;
      inset: 0;
      z-index: 1;

      background:
        linear-gradient(
          to top,
          rgba(0,0,0,.86) 0%,
          rgba(0,0,0,.1) 65%
        );
    }

    .service-card::after {
      content: "";

      position: absolute;
      inset: 0;

      background: rgba(181,155,114,0);

      transition: background var(--transition);
    }

    .service-card:hover::after {
      background: rgba(181,155,114,.08);
    }

    .service-image {
      position: absolute;
      inset: 0;

      width: 100%;
      height: 100%;

      object-fit: cover;

      transition: transform 800ms cubic-bezier(.2,.8,.2,1);
    }

    .service-card:hover .service-image {
      transform: scale(1.06);
    }

    .service-content {
      position: absolute;
      z-index: 2;

      inset: auto 26px 28px;
    }

    .service-number {
      margin-bottom: 15px;

      color: var(--accent);

      font-size: 10px;
      font-weight: 800;
      letter-spacing: .2em;
    }

    .service-content h3 {
      font-family: var(--serif);
      font-size: 32px;
      font-weight: 400;
      line-height: 1.05;
    }

    .service-content p {
      margin-top: 12px;

      color: rgba(255,255,255,.65);

      font-size: 12px;
      line-height: 1.7;
    }

    /* =========================================================
       NOSOTROS
       ========================================================= */

    .about {
      padding: 140px 0;
    }

    .about-grid {
      display: grid;
      grid-template-columns: .85fr 1.15fr;
      gap: 100px;
      align-items: center;
    }

    .about-visual {
      position: relative;

      min-height: 600px;

      overflow: hidden;

      border-radius: var(--radius-md);

      background:
        linear-gradient(
          135deg,
          #ddd5c7,
          #bfb5a5
        );
    }

    .about-visual img {
      height: 100%;
      min-height: 600px;

      object-fit: cover;
    }

    .about-badge {
      position: absolute;

      right: 28px;
      bottom: 28px;

      width: 150px;
      height: 150px;

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

      padding: 25px;

      border: 1px solid rgba(255,255,255,.3);
      border-radius: 50%;

      background: rgba(17,17,15,.8);
      backdrop-filter: blur(12px);

      color: var(--white);

      text-align: center;

      font-size: 10px;
      font-weight: 800;
      letter-spacing: .12em;
      text-transform: uppercase;
    }

    .about-copy h2 {
      margin-top: 20px;

      font-family: var(--serif);
      font-size: clamp(44px, 5vw, 70px);
      font-weight: 400;
      line-height: 1;
      letter-spacing: -.03em;
    }

    .about-copy h2 em {
      color: var(--accent);
      font-style: italic;
    }

    .about-copy > p {
      max-width: 610px;

      margin-top: 28px;

      color: var(--text-soft);

      font-size: 15px;
      line-height: 1.9;
    }

    .about-points {
      display: grid;
      grid-template-columns: repeat(2, 1fr);

      gap: 18px 40px;

      margin-top: 42px;

      padding-top: 30px;

      border-top: 1px solid var(--line);
    }

    .about-point {
      display: flex;
      gap: 12px;

      font-size: 13px;
      font-weight: 700;
    }

    .about-point::before {
      content: "✦";

      color: var(--accent);
    }

    /* =========================================================
       PROCESO
       ========================================================= */

    .process {
      padding: 120px 0;

      background: var(--cream-dark);
    }

    .process-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);

      margin-top: 70px;

      border-top: 1px solid var(--line);
    }

    .process-item {
      min-height: 270px;

      padding: 32px 28px 32px 0;

      border-right: 1px solid var(--line);
    }

    .process-item:not(:first-child) {
      padding-left: 28px;
    }

    .process-item:last-child {
      border-right: none;
    }

    .process-number {
      font-family: var(--serif);
      font-size: 46px;
      font-weight: 400;

      color: var(--accent);
    }

    .process-item h3 {
      margin-top: 35px;

      font-size: 16px;
      font-weight: 800;
    }

    .process-item p {
      margin-top: 12px;

      color: var(--text-soft);

      font-size: 13px;
      line-height: 1.8;
    }

    /* =========================================================
       GALERÍA / PROYECTOS
       ========================================================= */

    .gallery {
      padding: 140px 0;
    }

    .gallery-header {
      display: flex;
      justify-content: space-between;
      align-items: end;
      gap: 40px;
    }

    .project-filters {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;

      margin-top: 45px;
    }

    .project-filter {
      padding: 10px 17px;

      border: 1px solid var(--line);
      border-radius: 100px;

      background: transparent;
      color: var(--text-soft);

      font-size: 10px;
      font-weight: 800;
      letter-spacing: .08em;
      text-transform: uppercase;

      transition: all var(--transition);
    }

    .project-filter:hover {
      border-color: var(--accent);
      color: var(--text);
    }

    .project-filter.active {
      border-color: var(--black);
      background: var(--black);
      color: var(--white);
    }

    .gallery-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      grid-auto-rows: 300px;

      gap: 14px;

      margin-top: 28px;
    }

    .gallery-item {
      position: relative;

      overflow: hidden;

      border-radius: var(--radius-md);

      background: #ddd;

      cursor: pointer;

      animation: projectFade .45s ease both;
    }

    .gallery-item img,
    .gallery-item video {
      width: 100%;
      height: 100%;

      object-fit: cover;

      transition: transform 800ms cubic-bezier(.2,.8,.2,1);
    }

    .gallery-item:hover img,
    .gallery-item:hover video {
      transform: scale(1.05);
    }

    .gallery-item .media-badge,
    .project-modal-image-wrap .media-badge {
      position: absolute;
      top: 14px;
      left: 14px;
      z-index: 3;

      display: inline-flex;
      align-items: center;
      gap: 6px;

      padding: 6px 11px;

      border-radius: 999px;

      background: rgba(0, 0, 0, .62);
      backdrop-filter: blur(6px);

      color: #fff;
      font-size: .68rem;
      font-weight: 700;
      letter-spacing: .12em;
      text-transform: uppercase;

      pointer-events: none;
    }

    .gallery-item-overlay {
      position: absolute;
      inset: auto 0 0 0;
      z-index: 2;

      padding: 70px 25px 24px;

      background: linear-gradient(
        to top,
        rgba(17,17,15,.85),
        transparent
      );

      color: var(--white);

      opacity: 0;
      transform: translateY(10px);

      transition: all var(--transition);
    }

    .gallery-item:hover .gallery-item-overlay {
      opacity: 1;
      transform: translateY(0);
    }

    .project-category {
      color: var(--accent);

      font-size: 9px;
      font-weight: 800;
      letter-spacing: .18em;
      text-transform: uppercase;
    }

    .project-title {
      margin-top: 5px;

      font-family: var(--serif);
      font-size: 25px;
      line-height: 1.05;
    }

    .project-location {
      margin-top: 5px;

      color: rgba(255,255,255,.6);

      font-size: 10px;
    }

    .projects-loading {
      grid-column: 1 / -1;

      min-height: 300px;

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

      border-top: 1px solid var(--line);

      color: var(--text-soft);

      font-size: 12px;
      font-weight: 700;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

    .projects-empty {
      grid-column: 1 / -1;

      padding: 70px 20px;

      border-top: 1px solid var(--line);

      color: var(--text-soft);

      font-size: 14px;
      text-align: center;
    }

    /* =========================================================
       MODAL DE PROYECTOS
       ========================================================= */

    .project-modal {
      position: fixed;
      inset: 0;
      z-index: 3000;

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

      padding: 30px;

      background: rgba(8,8,7,.88);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);

      opacity: 0;
      visibility: hidden;

      transition:
        opacity var(--transition),
        visibility var(--transition);
    }

    .project-modal.active {
      opacity: 1;
      visibility: visible;
    }

    .project-modal-content {
      position: relative;

      width: min(1100px, 100%);
      height: min(700px, calc(100vh - 60px));
      height: min(700px, calc(100dvh - 60px));

      overflow: hidden;

      display: grid;
      grid-template-columns: 1.35fr .65fr;

      border-radius: var(--radius-lg);

      background: var(--cream);

      box-shadow: var(--shadow-large);

      transform: translateY(20px) scale(.98);

      transition: transform var(--transition);
    }

    .project-modal.active .project-modal-content {
      transform: translateY(0) scale(1);
    }

    .project-modal-close {
      position: absolute;
      z-index: 5;

      top: 18px;
      right: 18px;

      width: 42px;
      height: 42px;

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

      border: 1px solid rgba(255,255,255,.3);
      border-radius: 50%;

      background: rgba(17,17,15,.7);
      color: var(--white);

      font-size: 25px;
      font-weight: 300;

      backdrop-filter: blur(8px);

      transition: all var(--transition);
    }

    .project-modal-close:hover {
      background: var(--white);
      color: var(--black);
    }

    .project-modal-image-wrap {
      position: relative;

      min-height: 0;

      background: var(--black);

      overflow: hidden;
    }

    .project-modal-image {
      width: 100%;
      height: 100%;

      object-fit: cover;
    }

    .project-modal-video {
      display: block;

      background: #000;

      object-fit: contain;
    }

    .project-modal-prev,
    .project-modal-next {
      position: absolute;
      top: 50%;
      z-index: 4;

      width: 48px;
      height: 48px;

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

      border: 1px solid rgba(255,255,255,.3);
      border-radius: 50%;

      background: rgba(17,17,15,.55);
      color: var(--white);

      font-size: 30px;
      line-height: 1;

      transform: translateY(-50%);

      backdrop-filter: blur(8px);

      transition: all var(--transition);
    }

    .project-modal-prev {
      left: 18px;
    }

    .project-modal-next {
      right: 18px;
    }

    .project-modal-prev:hover,
    .project-modal-next:hover {
      background: var(--white);
      color: var(--black);
    }

    .project-modal-info {
      display: flex;
      flex-direction: column;
      justify-content: center;

      padding: 55px 45px;

      overflow-y: auto;
    }

    .project-modal-category {
      color: var(--accent);

      font-size: 10px;
      font-weight: 800;
      letter-spacing: .2em;
      text-transform: uppercase;
    }

    .project-modal-title {
      margin-top: 15px;

      font-family: var(--serif);
      font-size: clamp(26px, 2.4vw, 40px);
      font-weight: 400;
      line-height: 1.12;
      letter-spacing: -.02em;

      overflow-wrap: break-word;
      hyphens: auto;
    }

    .project-modal-location {
      margin-top: 18px;

      color: var(--text-soft);

      font-size: 12px;
      font-weight: 700;
    }

    .project-modal-location::before {
      content: "⌖ ";

      color: var(--accent);
    }

    .project-modal-description {
      margin-top: 28px;

      color: var(--text-soft);

      font-size: 14px;
      line-height: 1.9;
    }

    .project-modal-counter {
      margin-top: 35px;
      padding-top: 20px;

      border-top: 1px solid var(--line);

      color: var(--text-light);

      font-size: 10px;
      font-weight: 800;
      letter-spacing: .15em;
      text-transform: uppercase;
    }

    /* =========================================================
       CONTACTO
       ========================================================= */

    .contact {
      padding: 130px 0;

      background: var(--black);
      color: var(--white);
    }

    .contact-grid {
      display: grid;
      grid-template-columns: .85fr 1.15fr;
      gap: 110px;
      align-items: start;
    }

    .contact-copy h2 {
      margin-top: 20px;

      font-family: var(--serif);
      font-size: clamp(48px, 6vw, 78px);
      font-weight: 400;
      line-height: .98;
      letter-spacing: -.03em;
    }

    .contact-copy h2 em {
      color: var(--accent);
      font-style: italic;
    }

    .contact-copy > p {
      max-width: 480px;

      margin-top: 25px;

      color: rgba(255,255,255,.55);

      font-size: 14px;
      line-height: 1.8;
    }

    .contact-details {
      display: grid;
      gap: 20px;

      margin-top: 45px;
    }

    .contact-detail {
      padding-top: 18px;

      border-top: 1px solid var(--line-dark);
    }

    .contact-detail small {
      display: block;

      margin-bottom: 5px;

      color: var(--accent);

      font-size: 9px;
      font-weight: 800;
      letter-spacing: .18em;
      text-transform: uppercase;
    }

    .contact-detail span,
    .contact-detail a {
      color: rgba(255,255,255,.82);

      font-size: 14px;
    }

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

    .contact-form {
      padding: 40px;

      border: 1px solid var(--line-dark);
      border-radius: var(--radius-lg);

      background: rgba(255,255,255,.035);
      height: fit-content;
    }

    .form-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);

      gap: 22px;
    }

    .form-group {
      display: flex;
      flex-direction: column;
      gap: 9px;
    }

    .form-group.full {
      grid-column: 1 / -1;
    }

    .form-group label {
      color: rgba(255,255,255,.55);

      font-size: 9px;
      font-weight: 800;
      letter-spacing: .16em;
      text-transform: uppercase;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
      width: 100%;

      border: none;
      border-bottom: 1px solid rgba(255,255,255,.2);

      padding: 12px 0;

      outline: none;

      background: transparent;
      color: var(--white);

      font-size: 14px;

      transition: border-color var(--transition);
    }

    .form-group input::placeholder,
    .form-group textarea::placeholder {
      color: rgba(255,255,255,.3);
    }

    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
      border-color: var(--accent);
    }

    .form-group select option {
      color: var(--black);
    }

    .form-group textarea {
      min-height: 130px;

      resize: vertical;
    }

    .form-submit {
      width: 100%;

      margin-top: 10px;

      border: none;
    }

    .form-note {
      margin-top: 15px;

      color: rgba(255,255,255,.35);

      font-size: 10px;
      line-height: 1.6;
      text-align: center;
    }

    #form-status {
      margin-top: 15px;

      font-size: 12px;
      text-align: center;
    }

    /* =========================================================
       FOOTER
       ========================================================= */

    footer {
      padding: 45px 0;

      background: #0b0b0a;

      color: rgba(255,255,255,.45);
    }

    .footer-inner {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 30px;
    }

    .footer-brand {
      color: var(--white);

      font-size: 11px;
      font-weight: 800;
      letter-spacing: .14em;
      text-transform: uppercase;
    }

    .footer-copy {
      font-size: 10px;
    }

    .footer-links {
      display: flex;
      gap: 25px;

      font-size: 10px;
      font-weight: 700;
      letter-spacing: .08em;
      text-transform: uppercase;
    }

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

    /* =========================================================
       WHATSAPP
       ========================================================= */

    .whatsapp {
      position: fixed;
      z-index: 999;

      right: 25px;
      bottom: 25px;

      width: 58px;
      height: 58px;

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

      border-radius: 50%;

      background: #25D366;
      color: #ffffff;

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

      transition:
        transform .25s ease,
        box-shadow .25s ease;
    }

    .whatsapp img {
      width: 31px;
      height: 31px;

      display: block;

      object-fit: contain;
    }

    .whatsapp:hover {
      transform: translateY(-5px) scale(1.05);

      box-shadow:
        0 14px 40px rgba(0, 0, 0, .30);
    }

    .whatsapp:focus-visible {
      outline: 3px solid rgba(255,255,255,.9);
      outline-offset: 4px;
    }

    /* =========================================================
       ANIMACIONES
       ========================================================= */

    @keyframes fadeUp {
      from {
        opacity: 0;
        transform: translateY(25px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes projectFade {
      from {
        opacity: 0;
        transform: translateY(12px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .hero-content > * {
      animation: fadeUp .8s ease both;
    }

    .hero-kicker {
      animation-delay: .1s;
    }

    .hero h1 {
      animation-delay: .2s;
    }

    .hero-text {
      animation-delay: .3s;
    }

    .hero-actions {
      animation-delay: .4s;
    }

    /* =========================================================
       TABLET
       ========================================================= */

    @media (max-width: 1050px) {

      .container,
      .header-inner,
      .hero-content {
        width: min(var(--container), calc(100% - 50px));
      }

      .main-nav {
        gap: 20px;
      }

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

      .service-card {
        min-height: 480px;
      }

      .about-grid,
      .contact-grid {
        gap: 60px;
      }

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

      .process-item:nth-child(2) {
        border-right: none;
      }

      .process-item:nth-child(n+3) {
        border-top: 1px solid var(--line);
      }

      .gallery-grid {
        grid-auto-rows: 230px;
      }

      .project-modal-content {
        grid-template-columns: 1fr 1fr;
      }

      .project-modal-image-wrap {
        min-height: 0;
      }
    }

    /* =========================================================
       MÓVIL
       ========================================================= */

    @media (max-width: 760px) {

      html {
        scroll-padding-top: 75px;
      }

      .container,
      .header-inner,
      .hero-content {
        width: calc(100% - 36px);
      }

      /* HEADER */

      .site-header {
        height: 74px;
      }

      .main-nav {
        position: absolute;

        top: 74px;
        left: 0;
        right: 0;

        display: none;
        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding: 15px 18px 25px;

        background: rgba(17,17,15,.98);

        border-bottom: 1px solid rgba(255,255,255,.1);
      }

      .main-nav.active {
        display: flex;
      }

      .main-nav a {
        padding: 15px 0;

        border-bottom: 1px solid rgba(255,255,255,.08);
      }

      .main-nav a::after {
        display: none;
      }

      .header-cta {
        display: none;
      }

      .menu-toggle {
        display: block;
      }

      .brand img {
        width: 40px;
        height: 40px;
      }

      /* HERO */

      .hero {
        min-height: 760px;

        background:
          linear-gradient(
            180deg,
            rgba(10,10,9,.48),
            rgba(10,10,9,.88) 70%
          ),
          var(--hero-image, url("imagenes/hero.webp")) center/cover no-repeat;
      }

      .hero-content {
        padding-top: 70px;
      }

      .hero h1 {
        font-size: clamp(50px, 15vw, 72px);
      }

      .hero-text {
        font-size: 14px;
      }

      .hero-actions {
        flex-direction: column;
        align-items: stretch;
      }

      .btn {
        width: 100%;
      }

      .hero-scroll {
        display: none;
      }

      /* INTRO */

      .intro {
        padding: 85px 0;
      }

      .intro-grid {
        grid-template-columns: 1fr;
        gap: 35px;
      }

      .feature-grid {
        grid-template-columns: 1fr;

        margin-top: 55px;
      }

      .feature,
      .feature:not(:first-child) {
        padding: 28px 0;

        border-right: none;
        border-bottom: 1px solid var(--line);
      }

      .feature:last-child {
        border-bottom: none;
      }

      .feature-number {
        margin-bottom: 22px;
      }

      /* SERVICES */

      .services {
        padding: 85px 0;
      }

      .services-header {
        display: block;
      }

      .services-grid {
        grid-template-columns: 1fr;

        margin-top: 50px;
      }

      .service-card {
        min-height: 430px;
      }

      /* ABOUT */

      .about {
        padding: 90px 0;
      }

      .about-grid {
        grid-template-columns: 1fr;

        gap: 55px;
      }

      .about-visual,
      .about-visual img {
        min-height: 430px;
      }

      .about-points {
        grid-template-columns: 1fr;
      }

      /* PROCESS */

      .process {
        padding: 85px 0;
      }

      .process-grid {
        grid-template-columns: 1fr;

        margin-top: 50px;
      }

      .process-item,
      .process-item:not(:first-child) {
        min-height: auto;

        padding: 28px 0;

        border-right: none;
        border-bottom: 1px solid var(--line);
      }

      .process-item:last-child {
        border-bottom: none;
      }

      .process-item h3 {
        margin-top: 20px;
      }

      /* GALLERY */

      .gallery {
        padding: 90px 0;
      }

      .gallery-header {
        display: block;
      }

      .project-filters {
        margin-top: 30px;

        overflow-x: auto;
        flex-wrap: nowrap;

        padding-bottom: 5px;

        scrollbar-width: none;
      }

      .project-filters::-webkit-scrollbar {
        display: none;
      }

      .project-filter {
        flex: 0 0 auto;
      }

      .gallery-grid {
        grid-template-columns: 1fr 1fr;

        grid-auto-rows: 180px;

        margin-top: 35px;
      }

      .gallery-item:nth-child(1),
      .gallery-item:nth-child(2),
      .gallery-item:nth-child(3),
      .gallery-item:nth-child(4),
      .gallery-item:nth-child(5) {
        grid-column: auto;
        grid-row: auto;
      }

      .gallery-item-overlay {
        opacity: 1;
        transform: none;

        padding: 50px 15px 15px;
      }

      .project-title {
        font-size: 19px;
      }

      .project-location {
        font-size: 9px;
      }

      /* MODAL */

      .project-modal {
        padding: 12px;
      }

      .project-modal-content {
        width: 100%;
        height: auto;
        max-height: calc(100vh - 24px);
        max-height: calc(100dvh - 24px);

        display: flex;
        flex-direction: column;

        overflow-y: auto;
      }

      .project-modal-image-wrap {
        min-height: 48vh;
        height: 48vh;

        flex-shrink: 0;
      }

      .project-modal-info {
        padding: 30px 25px 35px;

        overflow: visible;
      }

      .project-modal-title {
        font-size: clamp(24px, 7vw, 32px);
        line-height: 1.1;
      }

      .project-modal-description {
        font-size: 13px;
      }

      .project-modal-prev,
      .project-modal-next {
        width: 42px;
        height: 42px;

        font-size: 25px;
      }

      .project-modal-prev {
        left: 12px;
      }

      .project-modal-next {
        right: 12px;
      }

      .project-modal-close {
        top: 12px;
        right: 12px;
      }

      /* CONTACT */

      .contact {
        padding: 85px 0;
      }

      .contact-grid {
        grid-template-columns: 1fr;

        gap: 55px;
      }

      .contact-form {
        padding: 25px 20px;
      }

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

      .form-group.full {
        grid-column: auto;
      }

      /* FOOTER */

      footer {
        padding: 35px 0;
      }

      .footer-inner {
        flex-direction: column;
        align-items: flex-start;
      }

      .footer-links {
        flex-wrap: wrap;
      }

      /* WHATSAPP */

      .whatsapp {
        right: 18px;
        bottom: 18px;

        width: 54px;
        height: 54px;
      }

      .whatsapp img {
        width: 29px;
        height: 29px;
      }
    }

    /* =========================================================
       MÓVIL PEQUEÑO
       ========================================================= */

    @media (max-width: 430px) {

      .brand-subtitle {
        display: none;
      }

      .brand-name {
        font-size: 11px;
      }

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

      .section-title {
        font-size: 43px;
      }

      .gallery-grid {
        grid-auto-rows: 150px;
      }

      .about-badge {
        width: 120px;
        height: 120px;

        right: 18px;
        bottom: 18px;

        font-size: 8px;
      }

      .project-modal-title {
        font-size: 28px;
      }
    }

    /* =========================================================
       REDUCIR ANIMACIONES
       ========================================================= */

    @media (prefers-reduced-motion: reduce) {

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

    /* =========================================================
       MAPA DE CONTACTO
       ========================================================= */

    .contact-map {
      margin-top: 28px;
      border-radius: var(--radius-md);
      overflow: hidden;
      border: 1px solid var(--line);
      box-shadow: var(--shadow-soft);
      background: var(--cream-dark);
    }

    .contact-map iframe {
      display: block;
      width: 100%;
      height: 300px;
      border: 0;
      filter: grayscale(0.25) contrast(1.02);
    }

    .map-link {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-top: 18px;
      padding: 12px 22px;
      border-radius: 999px;
      background: var(--accent);
      color: var(--black);
      font-weight: 700;
      font-size: 0.9rem;
      letter-spacing: 0.02em;
      text-decoration: none;
      transition: background var(--transition), transform var(--transition);
    }

    .map-link:hover {
      background: var(--accent-dark);
      color: var(--white);
      transform: translateY(-2px);
    }

    @media (max-width: 640px) {
      .contact-map iframe {
        height: 240px;
      }
    }

/* =========================================================
   ACCESIBILIDAD · Skip link
   ========================================================= */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 12px 20px;
  background: #11110f;
  color: #fff;
  border-radius: 0 0 10px 0;
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  left: 0;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
