:root {
      --blue-mid:   #3F6CA6;
      --blue-dark:  #223A59;
      --sand:       #BF9B7A;
      --brown:      #402516;
      --white:      #FFFFFF;
      --off-white:  #F7F5F2;
      --text-dark:  #1a1a1a;
    }

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

    html { scroll-behavior: smooth; }

    body {
      font-family: 'Roboto', sans-serif;
      background: var(--off-white);
      color: var(--text-dark);
      overflow-x: hidden;
    }

    /* ── HERO ──────────────────────────────────────────────── */
    .hero {
      min-height: 100vh;
      background: var(--blue-dark);
      display: grid;
      grid-template-columns: 1fr 1fr;
      position: relative;
      overflow: hidden;
    }

    .hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 60% 80% at 80% 50%, rgba(63,108,166,.35) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 10% 90%, rgba(191,155,122,.15) 0%, transparent 60%);
      pointer-events: none;
    }

    /* binary rain strip */
    .hero-binary {
      position: absolute;
      bottom: 0; left: 0; right: 0;
      height: 3px;
      background: linear-gradient(90deg, transparent, var(--blue-mid), var(--sand), var(--blue-mid), transparent);
      opacity: .6;
    }

    .hero-left {
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 80px 60px 80px 80px;
      position: relative;
      z-index: 2;
    }

    .hero-tag {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .2em;
      text-transform: uppercase;
      color: var(--sand);
      margin-bottom: 32px;
    }

    .hero-name {
      font-size: clamp(52px, 6vw, 88px);
      font-weight: 900;
      line-height: 1;
      color: var(--white);
      margin-bottom: 8px;
    }

    .hero-name span {
      display: block;
      color: var(--blue-mid);
    }

    .hero-tagline {
      margin-top: 36px;
      font-size: clamp(16px, 2vw, 22px);
      font-weight: 400;
      color: rgba(255,255,255,.75);
      line-height: 1.5;
      max-width: 400px;
    }

    .hero-tagline strong {
      color: var(--sand);
      font-weight: 700;
    }

    .hero-cta {
      margin-top: 48px;
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    .btn {
      display: inline-block;
      padding: 14px 32px;
      font-family: 'Roboto', sans-serif;
      font-size: 13px;
      font-weight: 700;
      letter-spacing: .1em;
      text-transform: uppercase;
      text-decoration: none;
      border-radius: 2px;
      transition: all .25s;
      cursor: pointer;
      border: none;
    }

    .btn-primary {
      background: var(--blue-mid);
      color: var(--white);
    }
    .btn-primary:hover { background: #5580b8; transform: translateY(-2px); }

    .btn-outline {
      background: transparent;
      border: 1.5px solid var(--sand);
      color: var(--sand);
    }
    .btn-outline:hover { background: var(--sand); color: var(--brown); transform: translateY(-2px); }

    .hero-right {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 80px 60px;
      position: relative;
      z-index: 2;
    }

    /* geometric logo mark */
    .logo-mark {
      width: min(320px, 80%);
      aspect-ratio: 1;
      position: relative;
    }

    .logo-mark svg {
      width: 100%;
      height: 100%;
      opacity: .9;
      animation: rotateslow 30s linear infinite;
    }

    @keyframes rotateslow {
      to { transform: rotate(360deg); }
    }

    .logo-center {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      animation: none;
    }

    .logo-initials {
      font-size: 64px;
      font-weight: 900;
      color: var(--white);
      letter-spacing: -2px;
      line-height: 1;
    }

    .logo-initials sub {
      font-size: 24px;
      color: var(--sand);
      vertical-align: sub;
      font-weight: 400;
    }

    /* ── NAV ────────────────────────────────────────────────── */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      padding: 20px 80px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: rgba(34,58,89,.92);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid rgba(63,108,166,.3);
    }

    .nav-cta {
      padding: 10px 20px;
      font-size: 11px;
    }

    .nav-logo {
      font-size: 18px;
      font-weight: 900;
      color: var(--white);
      text-decoration: none;
      letter-spacing: -.5px;
    }

    .nav-logo span { color: var(--sand); }

    .nav-links {
      display: flex;
      gap: 36px;
      list-style: none;
    }

    .nav-links a {
      font-size: 12px;
      font-weight: 700;
      letter-spacing: .15em;
      text-transform: uppercase;
      color: rgba(255,255,255,.7);
      text-decoration: none;
      transition: color .2s;
    }

    .nav-links a:hover { color: var(--sand); }

    /* ── MARCOS ──────────────────────────────────────────── */
    .marco-imagen {
        border: 4px double #BF9B7A;
        border-radius: 15px;
        padding: 5px; /* Espacio entre la imagen y el borde */
        box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    }

    /* ── SERVICIOS ──────────────────────────────────────────── */
    .section {
      padding: 100px 80px;
    }

    .section-label {
      font-size: 11px;
      font-weight: 700;
      letter-spacing: .25em;
      text-transform: uppercase;
      color: var(--blue-mid);
      margin-bottom: 16px;
    }

    .section-title {
      font-size: clamp(32px, 4vw, 52px);
      font-weight: 900;
      line-height: 1.1;
      color: var(--blue-dark);
      max-width: 600px;
      margin-bottom: 64px;
    }

    .cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 24px;
    }

    .card {
      background: var(--white);
      border-radius: 4px;
      padding: 40px 36px;
      position: relative;
      overflow: hidden;
      transition: transform .3s, box-shadow .3s;
      border-top: 3px solid var(--blue-mid);
    }

    .card:hover {
      transform: translateY(-6px);
      box-shadow: 0 24px 48px rgba(34,58,89,.12);
    }

    .card::after {
      content: '';
      position: absolute;
      bottom: 0; right: 0;
      width: 80px; height: 80px;
      background: var(--off-white);
      border-radius: 80px 0 0 0;
    }

    .card-icon {
      font-size: 32px;
      margin-bottom: 20px;
    }

    .card-title {
      font-size: 18px;
      font-weight: 700;
      color: var(--blue-dark);
      margin-bottom: 12px;
    }

    .card-desc {
      font-size: 14px;
      font-weight: 400;
      color: #5a6a7a;
      line-height: 1.7;
    }

    /* ── ABOUT ──────────────────────────────────────────────── */
    .about {
      background: var(--blue-dark);
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0;
      overflow: hidden;
    }

    .about-text {
      padding: 100px 80px;
      color: var(--white);
    }

    .about-text .section-label { color: var(--sand); }

    .about-text .section-title {
      color: var(--white);
      margin-bottom: 32px;
    }

    .about-text p {
      font-size: 16px;
      line-height: 1.8;
      color: rgba(255,255,255,.75);
      max-width: 460px;
      margin-bottom: 20px;
    }

    .about-visual {
      background: var(--blue-mid);
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 60px;
      position: relative;
      overflow: hidden;
    }

    .about-visual::before {
      content: '010111000101110001001001';
      position: absolute;
      top: 40px; left: 40px;
      font-size: 11px;
      color: rgba(255,255,255,.2);
      letter-spacing: .3em;
      font-weight: 700;
    }

    .about-visual::after {
      content: '010111000101110001001001';
      position: absolute;
      bottom: 40px; right: 40px;
      font-size: 11px;
      color: rgba(255,255,255,.2);
      letter-spacing: .3em;
      font-weight: 700;
    }

    .about-quote {
      font-size: clamp(22px, 3vw, 36px);
      font-weight: 900;
      color: var(--white);
      text-align: center;
      line-height: 1.3;
      position: relative;
      z-index: 1;
    }

    .about-quote span {
      display: block;
      font-size: .5em;
      font-weight: 400;
      color: rgba(255,255,255,.7);
      margin-top: 12px;
      font-style: italic;
    }

    /* ── PALETA ─────────────────────────────────────────────── */
    .palette-section {
      background: var(--off-white);
      padding: 100px 80px;
    }

    .color-row {
      display: flex;
      gap: 0;
      border-radius: 4px;
      overflow: hidden;
      height: 120px;
      margin-bottom: 20px;
    }

    .color-swatch {
      flex: 1;
      display: flex;
      align-items: flex-end;
      padding: 14px 18px;
    }

    .color-swatch code {
      font-size: 11px;
      font-weight: 700;
      color: rgba(255,255,255,.85);
      letter-spacing: .08em;
    }

    /* ── CONTACT ────────────────────────────────────────────── */
    .contact {
      padding: 100px 80px;
      background: var(--brown);
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
    }

    .contact-title {
      font-size: clamp(32px, 4vw, 52px);
      font-weight: 900;
      color: var(--white);
      line-height: 1.1;
      margin-bottom: 20px;
    }

    .contact-sub {
      font-size: 16px;
      color: rgba(255,255,255,.65);
      line-height: 1.7;
    }

    .contact-info {
      display: flex;
      flex-direction: column;
      gap: 24px;
    }

    .contact-item {
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .contact-icon {
      width: 44px;
      height: 44px;
      background: rgba(191,155,122,.2);
      border: 1px solid var(--sand);
      border-radius: 2px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      flex-shrink: 0;
    }

    .contact-detail {
      font-size: 15px;
      color: var(--white);
      font-weight: 500;
    }

    .contact-detail a {
      color: var(--sand);
      text-decoration: none;
    }

    .contact-detail a:hover { text-decoration: underline; }

    /* ── FOOTER ─────────────────────────────────────────────── */
    footer {
      background: var(--blue-dark);
      padding: 32px 80px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-top: 1px solid rgba(63,108,166,.3);
    }

    footer p {
      font-size: 12px;
      color: rgba(255,255,255,.4);
      letter-spacing: .05em;
    }

    .footer-tag {
      font-size: 12px;
      font-weight: 700;
      color: var(--sand);
      letter-spacing: .15em;
      text-transform: uppercase;
    }

    /* ── RESPONSIVE ─────────────────────────────────────────── */
    @media (max-width: 900px) {
      nav { padding: 16px 24px; }
      .nav-links { display: none; }
      .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 80px; }
      .hero-left { padding: 60px 24px 40px; }
      .hero-right { padding: 40px 24px 60px; }
      .section { padding: 64px 24px; }
      .about { grid-template-columns: 1fr; }
      .about-text { padding: 64px 24px; }
      .about-visual { padding: 48px 24px; }
      .palette-section { padding: 64px 24px; }
      .contact { grid-template-columns: 1fr; padding: 64px 24px; gap: 40px; }
      footer { padding: 24px; flex-direction: column; gap: 8px; text-align: center; }
    }

    /* ── ANIMATIONS ─────────────────────────────────────────── */
    @keyframes fadein {
      from { opacity: 0; transform: translateY(20px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    .hero-tag    { animation: fadein .6s ease both; }
    .hero-name   { animation: fadein .7s .1s ease both; }
    .hero-tagline{ animation: fadein .7s .2s ease both; }
    .hero-cta    { animation: fadein .7s .35s ease both; }
    .logo-mark   { animation: fadein .9s .4s ease both; }
