@import "tailwindcss";

:root {
  --bg: #0c0c0c;
  --surface: #151515;
  --surface-raised: #202020;
  --red: #ff1f16;
  --red-deep: #8f0c08;
  --white: #ffffff;
  --text: #f1f1f1;
  --muted: #a0a0a0;
  --line: #343434;
  --success: #0f6f1c;
  --content: 1180px;
  --pad: clamp(24px, 6vw, 80px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, Arial, Helvetica, sans-serif; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; color: var(--white); font-family: Poppins, Inter, Arial, sans-serif; font-weight: 800; letter-spacing: -.045em; }
h1, h2 { font-size: clamp(2rem, 5vw, 3rem); line-height: .98; }
h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); line-height: 1.08; }
p { margin-top: 0; }

.header { min-height: 78px; padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; gap: 28px; position: sticky; top: 0; z-index: 20; background: rgba(12,12,12,.92); border-bottom: 1px solid var(--line); backdrop-filter: blur(14px); }
.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand strong { color: var(--white); font-size: .84rem; font-weight: 900; text-transform: uppercase; letter-spacing: .02em; }
.brand span { margin-top: 5px; color: var(--muted); font-size: .64rem; }
.header nav { display: flex; gap: 28px; font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .13em; }
.header nav a { color: #d4d4d4; transition: color .2s ease; }
.header nav a:hover, .header nav a:focus-visible { color: var(--red); }
.menu-contact { padding: 12px 16px; color: var(--white); background: var(--red); border-radius: 8px; font-size: .62rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }

.hero, .section, .page-hero, .service-block, footer { padding-left: var(--pad); padding-right: var(--pad); }
.hero { min-height: calc(100svh - 78px); display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(42px,7vw,96px); align-items: center; position: relative; overflow: hidden; padding-top: 86px; padding-bottom: 86px; background: radial-gradient(circle at 80% 22%, rgba(255,31,22,.36), transparent 27%), linear-gradient(145deg,#0c0c0c 35%,#170706 72%,#0c0c0c); }
.hero::before { content: "ESCUTA"; position: absolute; left: -1vw; top: 7%; color: rgba(255,255,255,.025); font-size: clamp(7rem,20vw,20rem); font-weight: 900; letter-spacing: -.09em; line-height: .8; pointer-events: none; }
.hero > * { position: relative; z-index: 1; }
.hero > div { max-width: 650px; }
.hero aside { width: min(100%,480px); min-height: 330px; justify-self: center; align-self: center; padding: 34px; display: flex; flex-direction: column; justify-content: space-between; background: linear-gradient(145deg,#1b1b1b,#250c0a); border: 1px solid #55201c; border-radius: 16px; box-shadow: 0 25px 70px rgba(0,0,0,.35); }
.hero aside span { color: var(--red); font-size: .64rem; font-weight: 900; text-transform: uppercase; letter-spacing: .15em; }
.hero aside p { margin: 54px 0 0; color: var(--white); font-family: Poppins,Inter,sans-serif; font-size: 1.55rem; font-weight: 800; line-height: 1.1; letter-spacing: -.04em; }
.eyebrow { margin: 0 0 24px; color: var(--red); font-size: .64rem; font-weight: 900; text-transform: uppercase; letter-spacing: .18em; }
.pale { color: #ff6a63; }
.lede { max-width: 650px; margin: 24px 0 0; color: #b7b7b7; font-size: 1.08rem; line-height: 1.7; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; margin-top: 34px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 48px; padding: 0 22px; color: var(--white); background: transparent; border: 1px solid #666; border-radius: 10px; cursor: pointer; font-size: .66rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.primary, .cream { background: var(--red); border-color: var(--red); }
.primary:hover, .cream:hover { background: #d9140c; }
.text-link { padding-bottom: 6px; border-bottom: 1px solid #777; font-size: .68rem; font-weight: 900; text-transform: uppercase; letter-spacing: .09em; }

.section, .service-block { padding-top: 112px; padding-bottom: 112px; }
.intro-grid { display: block; border-top: 1px solid var(--line); text-align: center; }
.intro-grid > .eyebrow { margin-left: auto; margin-right: auto; }
.intro-grid > div { max-width: 820px; margin: 0 auto; }
.intro-grid > div > p { max-width: 720px; margin: 28px auto 0; }
.dark { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(44px,8vw,110px); }
.intro-grid p:last-child, .prose, .about-preview > div:last-child > p:last-of-type, .about-page > div:last-child p, .service-lede, .service-details > p, .page-hero > p:last-child, .blog-empty > div > p { color: var(--muted); font-size: 1.04rem; line-height: 1.7; }
.services-preview, .blog-empty, .sand { background: #101010; }
.section-title { max-width: 760px; margin: 0 auto; text-align: center; }
.cards { display: grid; grid-template-columns: repeat(2,1fr); gap: 18px; margin-top: 62px; }
.cards article { min-height: 330px; padding: 34px; display: flex; flex-direction: column; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.cards article:nth-child(2) { background: linear-gradient(145deg,var(--red),var(--red-deep)); border-color: transparent; }
.cards span { color: var(--red); font-size: .68rem; font-weight: 900; }
.cards article:nth-child(2) span, .cards article:nth-child(2) p { color: white; }
.cards h3 { margin: auto 0 15px; }
.cards p { color: var(--muted); line-height: 1.6; }
.cards a { margin-top: 10px; font-size: .68rem; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.dark { background: radial-gradient(circle at 15% 50%,rgba(255,31,22,.15),transparent 30%),#0c0c0c; border-top: 1px solid #3d1714; border-bottom: 1px solid #3d1714; }
.dark .prose { color: #b3b3b3; }
.about-preview, .about-page { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(48px,7vw,100px); align-items: center; }
.about-photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center 34%; border-radius: 18px; filter: saturate(.7) contrast(1.08); box-shadow: 26px 26px 0 #2b0b09; }
.about-photo.tall { aspect-ratio: 4/5; object-position: center; }
.credential { color: var(--red) !important; font-weight: 800; }
.cta { display: flex; flex-direction: column; align-items: center; gap: 34px; text-align: center; background: radial-gradient(circle at 50% 0,rgba(255,31,22,.34),transparent 55%),#15100f; border-top: 1px solid #802019; }
.cta > div { max-width: 820px; }
.cta .eyebrow { margin-left: auto; margin-right: auto; }

.page-hero { min-height: 480px; padding-top: 100px; padding-bottom: 100px; display: flex; flex-direction: column; justify-content: center; align-items: center; position: relative; overflow: hidden; text-align: center; background: radial-gradient(circle at 50% 0,rgba(255,31,22,.42),transparent 34%),linear-gradient(130deg,#0c0c0c,#180706); border-bottom: 1px solid #3d1714; }
.page-hero::after { content: "EN"; position: absolute; right: 5%; top: -3%; color: rgba(255,255,255,.035); font-size: 16rem; font-weight: 900; line-height: .8; }
.page-hero > * { position: relative; z-index: 1; max-width: 860px; }
.page-hero > p:last-child { margin: 26px 0 0; }
.blog-empty { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(48px,7vw,96px); align-items: center; }
.blog-empty > div > span { color: var(--red); font-size: .64rem; font-weight: 900; text-transform: uppercase; letter-spacing: .13em; }
.blog-empty h2 { margin: 45px 0 22px; }
.blog-empty aside { padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.blog-empty ul { margin: 0; padding: 0; list-style: none; }
.blog-empty li { padding: 15px 0; color: #d0d0d0; border-bottom: 1px solid var(--line); }
.service-block { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(48px,7vw,96px); align-items: center; border-bottom: 1px solid var(--line); }
.service-details { padding: 34px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.service-details dl, .contact-page dl { margin: 36px 0; }
.service-details dl div, .contact-page dl div { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 15px 0; border-top: 1px solid var(--line); }
.service-details dt, .contact-page dt { color: var(--muted); font-size: .72rem; }
.service-details dd, .contact-page dd { margin: 0; color: #e4e4e4; }
.contact-page { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: clamp(48px,7vw,96px); align-items: start; }
.contact-page form { display: grid; gap: 18px; padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.contact-page label { color: #dedede; font-size: .72rem; font-weight: 800; }
.contact-page input, .contact-page select { display: block; width: 100%; margin-top: 7px; padding: 14px; color: white; background: #0d0d0d; border: 1px solid #454545; border-radius: 8px; }
.contact-page input:focus, .contact-page select:focus { outline: 2px solid var(--red); outline-offset: 2px; }
.contact-page .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; line-height: 1.45; }
.contact-page .check input { width: auto; margin: 3px 0 0; }
.small, .status { color: var(--muted); font-size: .75rem; }

footer { padding-top: 68px; padding-bottom: 38px; display: grid; grid-template-columns: 1.4fr .8fr .8fr; gap: 50px; color: #929292; background: #070707; border-top: 1px solid #292929; font-size: .75rem; }
footer div { display: flex; flex-direction: column; gap: 8px; }
footer strong, footer b { color: white; }
footer b { font-size: .64rem; text-transform: uppercase; letter-spacing: .13em; }

@media (max-width: 850px) {
  .header nav { display: none; }
  .hero, .intro-grid, .dark, .about-preview, .about-page, .cta, .blog-empty, .service-block, .contact-page { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .hero aside { display: none; }
  .section, .service-block { padding-top: 82px; padding-bottom: 82px; }
  .cards { grid-template-columns: 1fr; }
  .about-photo { box-shadow: 14px 14px 0 #2b0b09; }
  .cta .button { justify-self: start; }
  footer { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .header { min-height: 70px; }
  .brand span { display: none; }
  .menu-contact { padding: 10px 12px; }
  .cards article, .service-details, .contact-page form, .blog-empty aside { padding: 24px; }
}

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

.services-preview .cards { grid-template-columns: 1fr; }
