:root {
  --ink: #152526;
  --ink-soft: #445657;
  --paper: #fcfcf9;
  --sand: #eeece5;
  --accent: #d76c3c;
  --accent-dark: #b85125;
  --line: #d9dcd5;
  --container: min(1120px, calc(100% - 48px));
  --shadow: 0 18px 45px rgba(20, 37, 38, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: Inter, Avenir, "Segoe UI", sans-serif; line-height: 1.5; }
body.menu-open { overflow: hidden; }
img { display: block; width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.container { width: var(--container); margin-inline: auto; }
.section { padding: 108px 0; }
.section-soft { background: var(--sand); }
.section-dark { color: white; background: var(--ink); }
.skip-link { position: fixed; z-index: 99; top: -100px; left: 16px; padding: 10px 16px; color: white; background: var(--ink); }
.skip-link:focus { top: 16px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.site-header { position: sticky; z-index: 20; top: 0; background: rgba(252, 252, 249, 0.96); border-bottom: 1px solid rgba(21, 37, 38, 0.08); backdrop-filter: blur(8px); }
.header-content { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; line-height: 1.15; }
.brand-logo { display: block; flex: 0 0 auto; width: 86px; height: 60px; object-fit: contain; object-position: center; }
.brand strong { display: block; font-family: Georgia, "Times New Roman", serif; font-size: 1.08rem; }
.brand small { display: block; margin-top: 3px; color: var(--ink-soft); font-size: 0.67rem; letter-spacing: 0.03em; }
.main-nav { display: flex; align-items: center; gap: 24px; font-size: 0.86rem; font-weight: 600; }
.main-nav > a:not(.nav-cta) { text-decoration: none; }
.main-nav > a:not(.nav-cta):hover { color: var(--accent-dark); }
.nav-cta, .button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border: 1px solid transparent; font-weight: 700; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s, transform .2s; }
.nav-cta { color: white; background: var(--ink); }
.nav-cta:hover { background: var(--accent-dark); }
.menu-toggle { display: none; }

.hero { position: relative; display: grid; min-height: min(710px, calc(100vh - 76px)); overflow: hidden; color: white; place-items: center; }
.hero-image, .hero-overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center; }
.hero-overlay { background: linear-gradient(90deg, rgba(10, 24, 24, 0.81) 0%, rgba(10, 24, 24, 0.5) 46%, rgba(10, 24, 24, 0.15) 100%); }
.hero-content { position: relative; padding: 90px 0; }
.eyebrow { margin: 0 0 18px; color: #fde4d8; font-size: 0.73rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
.eyebrow.dark { color: var(--accent-dark); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.04; }
h1 { max-width: 820px; margin-bottom: 22px; font-size: clamp(3rem, 7.1vw, 6.3rem); letter-spacing: -0.06em; }
.hero-text { max-width: 590px; margin-bottom: 32px; font-size: clamp(1.05rem, 2vw, 1.28rem); line-height: 1.6; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.button-primary { color: white; background: var(--accent); }
.button-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.text-link { display: inline-flex; gap: 8px; color: var(--accent-dark); font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.light-link { color: white; }

.two-columns { display: grid; grid-template-columns: 1fr 1fr; gap: min(14vw, 180px); }
h2 { margin-bottom: 0; font-size: clamp(2.25rem, 4.3vw, 4.1rem); letter-spacing: -0.055em; }
.intro-copy { max-width: 520px; padding-top: 7px; color: var(--ink-soft); font-size: 1.08rem; }
.intro-copy p { margin-bottom: 18px; }
.intro-copy .text-link { margin-top: 8px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 47px; }
.section-heading > p { max-width: 335px; margin: 0 0 8px; color: var(--ink-soft); }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { min-height: 303px; padding: 28px; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, 0.34); }
.service-number, .reason-grid span { color: var(--accent-dark); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.08em; }
.service-card h3 { margin: auto 0 12px; font-size: 1.72rem; letter-spacing: -0.035em; }
.service-card p { margin-bottom: 20px; color: var(--ink-soft); font-size: 0.94rem; }
.service-card a { color: var(--ink); font-size: 0.88rem; font-weight: 800; text-decoration: none; }
.service-card a:hover { color: var(--accent-dark); }
.accent-card { color: white; background: var(--accent); border-color: var(--accent); }
.accent-card .service-number, .accent-card p, .accent-card a { color: white; }

.projects { overflow: hidden; }
.section-heading.compact { margin-bottom: 38px; }
.carousel { width: 100%; }
.carousel-viewport { overflow: hidden; cursor: grab; touch-action: pan-y; }
.carousel-viewport:active { cursor: grabbing; }
.carousel-track { display: flex; transition: transform 520ms cubic-bezier(.22,.61,.36,1); will-change: transform; }
.slide { position: relative; flex: 0 0 100%; height: min(620px, 58vw); min-height: 400px; overflow: hidden; color: white; background: #899; user-select: none; }
.slide img { height: 100%; object-fit: cover; }
.slide::after { position: absolute; inset: 50% 0 0; content: ""; background: linear-gradient(transparent, rgba(11, 25, 25, .74)); pointer-events: none; }
.slide-caption { position: absolute; z-index: 1; right: clamp(23px, 5vw, 58px); bottom: clamp(22px, 4vw, 44px); left: clamp(23px, 5vw, 58px); display: flex; justify-content: space-between; gap: 20px; align-items: baseline; }
.slide-caption p { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.55rem, 3.3vw, 2.5rem); }
.slide-caption span { font-size: .82rem; font-weight: 700; white-space: nowrap; }
.carousel-controls { display: flex; align-items: center; justify-content: space-between; padding-top: 20px; }
.carousel-buttons { display: flex; gap: 8px; }
.carousel-button { display: grid; width: 45px; height: 45px; color: var(--ink); border: 1px solid var(--ink); background: transparent; place-items: center; cursor: pointer; transition: color .2s, background-color .2s; }
.carousel-button:hover { color: white; background: var(--ink); }
.carousel-dots { display: flex; gap: 8px; }
.carousel-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #b5bebd; cursor: pointer; }
.carousel-dot[aria-selected="true"] { width: 27px; border-radius: 10px; background: var(--accent); }

.section-dark h2 { max-width: 820px; }
.section-dark .eyebrow { color: #f7ad89; }
.reason-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 60px; margin-top: 70px; }
.reason-grid article { padding-top: 22px; border-top: 1px solid rgba(255,255,255,.3); }
.reason-grid span { color: #f7ad89; }
.reason-grid h3 { margin: 46px 0 12px; font-size: 1.6rem; }
.reason-grid p { max-width: 280px; margin: 0; color: #c7d0cf; }

.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: min(11vw, 130px); }
.contact-intro { max-width: 390px; margin: 24px 0 39px; color: var(--ink-soft); font-size: 1.08rem; }
.contact-links { display: grid; gap: 12px; }
.contact-action { display: flex; width: min(100%, 330px); min-height: 68px; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 17px; color: var(--ink); border: 1px solid var(--line); background: white; box-shadow: 0 6px 16px rgba(20, 37, 38, .05); text-decoration: none; transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s; }
.contact-action span, .contact-email span { display: block; margin: 0; font-family: Inter, Avenir, "Segoe UI", sans-serif; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.contact-action strong { font-size: .97rem; text-align: right; }
.contact-action:hover { color: white; border-color: var(--ink); background: var(--ink); box-shadow: 0 10px 20px rgba(20, 37, 38, .16); transform: translateY(-2px); }
.contact-action-whatsapp { color: white; border-color: #25d366; background: #25d366; }
.contact-action-whatsapp:hover { color: white; border-color: #128c4b; background: #128c4b; }
.contact-action:focus-visible, .contact-email:focus-visible { outline: 3px solid rgba(215, 108, 60, .45); outline-offset: 3px; }
.contact-email-card { display: flex; min-height: 284px; padding: clamp(26px, 4vw, 47px); flex-direction: column; align-items: flex-start; justify-content: center; background: var(--sand); }
.email-card-eyebrow { margin-bottom: 19px; color: var(--accent-dark); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.contact-email-card h3 { margin-bottom: 16px; font-size: clamp(1.65rem, 2.7vw, 2.3rem); letter-spacing: -.04em; }
.contact-email { display: grid; width: min(100%, 390px); gap: 5px; padding: 15px 18px; color: white; background: var(--accent); box-shadow: 0 8px 20px rgba(215, 108, 60, .2); overflow-wrap: anywhere; text-decoration: none; transition: background-color .2s, transform .2s, box-shadow .2s; }
.contact-email strong { font-size: clamp(.94rem, 2.4vw, 1.18rem); overflow-wrap: anywhere; }
.contact-email:hover { color: white; background: var(--accent-dark); box-shadow: 0 12px 24px rgba(180, 81, 37, .25); transform: translateY(-2px); }
.contact-email-card > p:last-child { max-width: 380px; margin: 23px 0 0; color: var(--ink-soft); }

.site-footer { color: #dfe5e4; background: #0f1c1d; }
.footer-top { display: grid; grid-template-columns: 1.1fr 1fr auto; gap: 30px; align-items: center; padding: 43px 0; }
.footer-brand { color: white; }
.footer-brand .brand-logo { width: 94px; }
.footer-top > p { margin: 0; color: #b7c2c1; font-size: .92rem; }
.footer-contact { color: white; font-weight: 800; text-decoration: none; }
.footer-contact:hover { color: #f7ad89; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.16); color: #98a6a4; font-size: .76rem; }
.footer-bottom p { margin: 0; }
.footer-bottom div { display: flex; gap: 17px; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: white; }

@media (max-width: 820px) {
  .section { padding: 76px 0; }
  .menu-toggle { display: grid; width: 42px; height: 42px; padding: 10px; border: 0; background: transparent; place-content: center; gap: 5px; cursor: pointer; }
  .menu-toggle span:not(.visually-hidden) { display: block; width: 22px; height: 2px; background: var(--ink); transition: transform .2s, opacity .2s; }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
  .main-nav { position: fixed; top: 76px; right: 0; left: 0; display: grid; gap: 0; padding: 17px 24px 25px; border-bottom: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); transform: translateY(-130%); visibility: hidden; transition: transform .25s, visibility .25s; }
  .main-nav.open { transform: translateY(0); visibility: visible; }
  .main-nav > a:not(.nav-cta) { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .main-nav .nav-cta { width: fit-content; margin-top: 19px; }
  .two-columns, .contact-layout { grid-template-columns: 1fr; gap: 31px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { min-height: 250px; }
  .reason-grid { gap: 28px; margin-top: 46px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-contact { grid-column: 1 / -1; }
}

@media (max-width: 560px) {
  :root { --container: min(100% - 36px, 1120px); }
  .header-content { min-height: 68px; gap: 12px; }
  .brand-logo { width: 55px; height: 40px; }
  .footer-brand .brand-logo { width: 78px; height: auto; }
  .brand strong { max-width: 180px; font-size: .95rem; }
  .brand small { display: none; }
  .main-nav { top: 68px; }
  .hero { min-height: 590px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(10, 24, 24, .78), rgba(10, 24, 24, .33)); }
  .hero-content { padding: 65px 0; }
  h1 { font-size: clamp(2.9rem, 15vw, 4.1rem); }
  .hero-text { font-size: 1rem; }
  .section-heading { display: block; margin-bottom: 32px; }
  .section-heading > p { margin-top: 16px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 212px; }
  .slide { height: 108vw; min-height: 340px; }
  .slide-caption { display: block; }
  .slide-caption span { display: block; margin-top: 5px; }
  .carousel-controls { padding-top: 14px; }
  .reason-grid { grid-template-columns: 1fr; }
  .reason-grid h3 { margin-top: 23px; }
  .contact-email-card { margin-inline: -18px; }
  .footer-top { grid-template-columns: 1fr; gap: 17px; }
  .footer-contact { grid-column: auto; }
  .footer-bottom { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
