:root {
  --navy-950: #0b1b2a;
  --navy-900: #102333;
  --navy-800: #174a78;
  --navy-700: #174a78;
  --blue-600: #174a78;
  --steel-100: #f3f6f9;
  --steel-200: #dce4ec;
  --steel-300: #dce4ec;
  --steel-500: #64748b;
  --text-900: #102333;
  --text-700: #344454;
  --gold-500: #d6b36a;
  --gold-400: #d6b36a;
  --white: #ffffff;
  --shadow-soft: 0 18px 45px rgba(11, 27, 42, 0.12);
  --shadow-card: 0 12px 32px rgba(11, 27, 42, 0.07);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1180px;
}

.about,
.services {
  background: var(--white);
}

.products,
.why-us,
.contact {
  background: var(--steel-100);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text-900);
  background: var(--steel-100);
  line-height: 1.7;
}

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

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

:focus-visible {
  outline: 3px solid var(--gold-400);
  outline-offset: 4px;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy-900);
  color: var(--white);
  padding: 0.8rem 1.2rem;
  z-index: 999;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 6rem 0;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 0.9rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: rgba(214, 179, 106, 0.12);
  color: var(--navy-900);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.04em;
  color: var(--navy-900);
}

h1 {
  font-size: clamp(2.6rem, 5vw, 5rem);
  margin-bottom: 1.2rem;
  max-width: 700px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  margin-bottom: 0.7rem;
}

p {
  color: var(--text-700);
  font-size: 1.04rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.95rem 1.45rem;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--blue-600);
  color: var(--white);
  box-shadow: 0 10px 22px rgba(23, 74, 120, 0.18);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--navy-900);
  box-shadow: 0 14px 24px rgba(16, 35, 51, 0.22);
}

.btn-secondary {
  background: var(--white);
  border-color: var(--steel-200);
  color: var(--navy-900);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--steel-100);
  border-color: var(--blue-600);
}

.full-width {
  width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #e8edf2;
  border-bottom: 1px solid var(--steel-200);
  transition: background-color 0.28s ease, box-shadow 0.28s ease;
}

.site-header.is-scrolled {
  background: #e8edf2;
  box-shadow: 0 10px 28px rgba(11, 27, 42, 0.1);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  gap: 0.85rem;
  max-width: 1320px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.65rem;
  color: var(--navy-900);
  font-weight: 700;
}

.brand-logo {
  display: block;
  width: clamp(86px, 8vw, 116px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(10, 31, 53, 0.1));
}

.brand-text {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  color: var(--navy-900);
}

.brand-name {
  font-size: clamp(1rem, 1.25vw, 1.25rem);
  letter-spacing: -0.045em;
  white-space: nowrap;
  font-weight: 800;
}

.footer-logo {
  width: clamp(80px, 9vw, 130px);
}

.main-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: clamp(0.45rem, 0.8vw, 0.85rem);
  color: var(--text-700);
  font-size: clamp(0.78rem, 0.85vw, 0.9rem);
  font-weight: 500;
}

.main-nav a {
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.22s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--gold-400);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.24s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
  color: var(--blue-600);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-cta {
  white-space: nowrap;
  flex: 0 0 auto;
  padding: 0.8rem 1.1rem;
  font-size: 0.88rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 0.28rem;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--steel-200);
  background: #e8edf2;
  border-radius: 0.8rem;
  padding: 0.7rem;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy-900);
  transition: transform 0.24s ease, opacity 0.18s ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  background: var(--navy-900);
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -3%;
  z-index: -2;
  background: url("assets/hero-trading.png") center 52% / cover no-repeat;
  transform: scale(1);
}

.js .hero.is-ready::before {
  animation: hero-image-settle 9s ease-out both;
}

@keyframes hero-image-settle {
  from { transform: scale(1.055); }
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(11, 27, 42, 0.64) 0%, rgba(11, 27, 42, 0.48) 54%, rgba(11, 27, 42, 0.18) 100%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: 2rem;
  min-height: 680px;
  padding: 4rem 0 6rem;
}

.hero-copy {
  max-width: 700px;
}

.hero-copy .eyebrow {
  color: var(--white);
  background: rgba(214, 179, 106, 0.2);
  border: 1px solid rgba(214, 179, 106, 0.35);
}

.hero-copy h1 {
  color: var(--white);
  max-width: 680px;
  text-wrap: balance;
}

.lead {
  max-width: 600px;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.hero-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0;
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.hero-meta li {
  position: relative;
  padding-left: 1rem;
}

.hero-meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--gold-400);
}

.hero-panel {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(220, 228, 236, 0.9);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  box-shadow: 0 24px 60px rgba(11, 27, 42, 0.2);
}

.panel-header {
  margin-bottom: 1rem;
}

.panel-badge {
  display: inline-block;
  margin-bottom: 0.6rem;
  color: #896b2f;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
}

.hero-panel h2 {
  font-size: clamp(1.6rem, 2vw, 2.2rem);
  margin-bottom: 0;
  color: var(--navy-900);
}

.panel-list {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.panel-list .label {
  display: block;
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel-500);
  margin-bottom: 0.35rem;
}

.panel-list a,
.panel-list p {
  color: var(--navy-900);
  margin: 0;
}

.two-column {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.image-block {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

.image-block img {
  width: 100%;
  border-radius: var(--radius);
  min-height: 520px;
  object-fit: cover;
  box-shadow: var(--shadow-soft);
  transition: transform 0.55s cubic-bezier(0.2, 0.75, 0.25, 1);
}

.image-block:hover img {
  transform: scale(1.025);
}

.content {
  max-width: 560px;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 2.4rem;
  text-align: center;
}

.category-grid,
.service-grid,
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
}

.category-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--steel-200);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.category-grid > .category-card:last-child {
  grid-column: 2;
}

.category-card:hover,
.category-card:focus-visible,
.js .category-card.reveal:hover,
.js .category-card.reveal:focus-visible {
  translate: 0 -4px;
  box-shadow: 0 18px 38px rgba(17, 44, 71, 0.12);
  border-color: rgba(214, 179, 106, 0.55);
}

.category-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.2, 0.75, 0.25, 1);
}

.category-card:hover img,
.category-card:focus-visible img {
  transform: scale(1.045);
}

.card-body {
  padding: 1.5rem 1.35rem 1.7rem;
}

.card-body h3 {
  margin-bottom: 0.7rem;
  transition: color 0.24s ease;
}

.category-card:hover .card-body h3,
.category-card:focus-visible .card-body h3 {
  color: var(--blue-600);
}

.card-body p {
  margin-bottom: 1rem;
}

.card-link {
  color: var(--navy-900);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.card-link::after {
  content: "→";
  transition: transform 0.22s ease;
}

.category-card:hover .card-link::after,
.category-card:focus-visible .card-link::after {
  transform: translateX(4px);
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--steel-200);
  box-shadow: var(--shadow-card);
  padding: 2rem 1.55rem;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background-color 0.28s ease;
}

.service-card:hover,
.service-card:focus-within,
.js .service-card.reveal:hover,
.js .service-card.reveal:focus-within {
  translate: 0 -4px;
  border-color: rgba(214, 179, 106, 0.5);
  box-shadow: 0 18px 38px rgba(17, 44, 71, 0.12);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(214, 179, 106, 0.15), rgba(23, 74, 120, 0.12));
  color: var(--navy-900);
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  transition: transform 0.3s ease, background 0.3s ease;
}

.service-card:hover .icon,
.service-card:focus-within .icon {
  transform: translateY(-2px);
  background: linear-gradient(135deg, rgba(214, 179, 106, 0.25), rgba(23, 74, 120, 0.18));
}

.service-card a {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--navy-900);
  font-weight: 700;
}

.service-card a::after {
  content: "→";
  margin-left: 0.4rem;
  transition: transform 0.22s ease;
}

.service-card a:hover::after,
.service-card a:focus-visible::after {
  transform: translateX(4px);
}

.why-us {
  background: var(--steel-100);
}

.features-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  border: 1px solid var(--steel-200);
  box-shadow: var(--shadow-card);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.feature:hover,
.js .feature.reveal:hover {
  translate: 0 -3px;
  border-color: rgba(214, 179, 106, 0.45);
  box-shadow: 0 18px 38px rgba(17, 44, 71, 0.12);
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  background: rgba(214, 179, 106, 0.12);
  color: var(--navy-900);
  font-size: 1.4rem;
  margin-bottom: 0.9rem;
  transition: transform 0.3s ease;
}

.feature:hover .feature-icon {
  transform: translateY(-2px);
}

.quote-section {
  background: var(--white);
  color: var(--text-900);
  border-top: 1px solid var(--steel-200);
  border-bottom: 1px solid var(--steel-200);
}

.quote-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.quote-copy p,
.quote-copy li {
  color: var(--text-700);
}

.quote-copy ul {
  padding-left: 1.1rem;
  margin: 1.5rem 0 0;
}

.quote-form-card {
  background: var(--white);
  border: 1px solid var(--steel-200);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow-card);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem 1rem;
}

.form-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.full-width {
  grid-column: 1 / -1;
}

label {
  font-weight: 600;
  color: var(--navy-900);
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--steel-200);
  border-radius: 0.9rem;
  background: var(--white);
  color: var(--text-900);
  padding: 0.9rem 0.95rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

option {
  color: var(--text-900);
  background: var(--white);
}

input::placeholder,
textarea::placeholder {
  color: var(--steel-500);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 4px rgba(23, 74, 120, 0.12);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.error-message {
  min-height: 1.1rem;
  color: #b42318;
  font-size: 0.8rem;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea,
.consent-row.has-error {
  border-color: #b42318;
  box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.08);
}

.consent-row {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 1rem 0 0.5rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--steel-200);
  border-radius: 0.9rem;
  background: var(--steel-100);
}

.consent-row input {
  width: auto;
  margin-top: 0.25rem;
}

.consent-row label {
  color: var(--text-700);
  font-size: 0.94rem;
  line-height: 1.5;
  font-weight: 500;
}

.submit-btn {
  width: 100%;
  margin-top: 1rem;
}

.submit-btn[disabled] {
  cursor: wait;
  opacity: 0.75;
}

.form-status {
  min-height: 1.4rem;
  margin-top: 1rem;
  font-weight: 600;
}

.form-status.success {
  color: #17603a;
}

.form-status.error {
  color: #b42318;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.contact-card,
.info-box {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 2rem;
  border: 1px solid var(--steel-200);
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 1rem;
}

.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(17, 44, 71, 0.08);
}

.contact-list span {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-700);
  font-weight: 700;
}

.contact-card a,
.contact-card strong {
  color: var(--navy-900);
}

.info-box {
  background: var(--white);
  color: var(--navy-900);
}

.info-box p,
.info-box h3 {
  color: var(--navy-900);
}

.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.8);
  padding: 4rem 0 1.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 2rem;
}

.footer-brand {
  margin-bottom: 1rem;
}

.site-footer h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--gold-400);
}

.site-footer a {
  transition: color 0.2s ease;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom > div {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: clamp(190px, 22vw, 270px);
  aspect-ratio: 3.05 / 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  transition: transform 0.24s ease, opacity 0.24s ease, visibility 0.24s ease;
}

.whatsapp-float img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.28));
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-2px) scale(1.02);
}

.whatsapp-float.is-obscured {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.whatsapp-tooltip {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.65rem);
  padding: 0.45rem 0.7rem;
  border-radius: 0.45rem;
  background: var(--navy-950);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.whatsapp-float:hover .whatsapp-tooltip,
.whatsapp-float:focus-visible .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.js .whatsapp-float {
  animation: whatsapp-enter 0.55s 0.8s both;
}

@keyframes whatsapp-enter {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto;
  height: 3px;
  z-index: 1200;
  pointer-events: none;
  background: transparent;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--gold-400);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

.back-to-top {
  position: fixed;
  right: 1.3rem;
  bottom: calc(clamp(190px, 22vw, 270px) / 3.05 + 1.8rem);
  z-index: 101;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: var(--navy-900);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(10, 31, 53, 0.22);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s ease, visibility 0.22s ease, transform 0.22s ease, background-color 0.22s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top.is-obscured {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.back-to-top:hover {
  background: var(--blue-600);
  transform: translateY(-2px);
}

.back-to-top span {
  font-size: 1.35rem;
  line-height: 1;
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s cubic-bezier(0.2, 0.75, 0.25, 1), transform 0.65s cubic-bezier(0.2, 0.75, 0.25, 1), translate 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, background-color 0.28s ease;
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.js .reveal.reveal-left {
  transform: translateX(-12px);
}

.js .reveal.reveal-right {
  transform: translateX(12px);
}

.js .reveal.reveal-left.visible,
.js .reveal.reveal-right.visible {
  transform: translateX(0);
}

.js .hero-copy.visible h1 {
  animation: hero-copy-enter 0.65s 0.04s both;
}

.js .hero-copy.visible .lead {
  animation: hero-copy-enter 0.65s 0.14s both;
}

.js .hero-copy.visible .hero-actions .btn:first-child {
  animation: hero-copy-enter 0.55s 0.22s both;
}

.js .hero-copy.visible .hero-actions .btn:last-child {
  animation: hero-copy-enter 0.55s 0.31s both;
}

@keyframes hero-copy-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.js .category-card.visible,
.js .service-card.visible,
.js .feature.visible {
  transition-delay: var(--reveal-delay, 0ms);
}

.js .category-card:nth-child(3n + 2),
.js .service-card:nth-child(3n + 2),
.js .feature:nth-child(3n + 2) {
  --reveal-delay: 70ms;
}

.js .category-card:nth-child(3n),
.js .service-card:nth-child(3n),
.js .feature:nth-child(3n) {
  --reveal-delay: 140ms;
}

.page-shell {
  padding-top: 5rem;
  padding-bottom: 4rem;
}

.page-header {
  background: var(--navy-950);
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-header h1 {
  color: var(--white);
}

.page-header .container {
  padding: 5rem 0 4rem;
}

.breadcrumbs {
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.72);
}

.breadcrumbs a {
  color: var(--gold-400);
}

.policy-card,
.terms-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 2rem 2.2rem;
  margin: 2.5rem auto;
  max-width: 980px;
}

.policy-card h2,
.terms-card h2 {
  margin-bottom: 1rem;
}

.policy-card section,
.terms-card section {
  margin-top: 2rem;
}

.policy-card h3,
.terms-card h3 {
  margin-top: 1.4rem;
  margin-bottom: 0.5rem;
}

.policy-card ul,
.terms-card ul,
.policy-card ol,
.terms-card ol {
  padding-left: 1.2rem;
  color: var(--text-700);
}

.notice-box {
  background: rgba(214, 179, 106, 0.08);
  border: 1px solid rgba(214, 179, 106, 0.22);
  border-radius: 0.9rem;
  padding: 1rem 1.1rem;
  margin-bottom: 1.5rem;
}

.notice-box strong {
  color: var(--navy-900);
}

.not-found-wrap {
  min-height: 70vh;
  display: grid;
  place-items: center;
  padding: 4rem 0;
}

.not-found-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 620px;
}

.not-found-card h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  margin-bottom: 0.6rem;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1240px) {
  .hero-grid,
  .two-column,
  .quote-layout,
  .contact-grid,
  .footer-grid,
  .category-grid,
  .service-grid,
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .category-grid > .category-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 1rem);
    justify-self: center;
  }

  .two-column,
  .contact-grid,
  .quote-layout {
    grid-template-columns: 1fr;
  }

  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 0.25rem);
    left: 50%;
    transform: translateX(-50%);
    width: min(92vw, 420px);
    background: var(--white);
    border: 1px solid var(--steel-200);
    border-radius: 1rem;
    box-shadow: var(--shadow-soft);
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    visibility: hidden;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
    visibility: visible;
  }

  .main-nav a {
    width: 100%;
    padding: 0.7rem 0.4rem;
    border-bottom: 1px solid var(--steel-200);
  }
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .js .reveal.reveal-left {
    transform: translateX(-8px);
  }

  .js .reveal.reveal-right {
    transform: translateX(8px);
  }

  .section {
    padding: 4.5rem 0;
  }

  .category-grid,
  .service-grid,
  .features-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .category-grid > .category-card:last-child {
    grid-column: auto;
    width: 100%;
  }

  .hero-grid {
    min-height: 620px;
    padding-top: 3rem;
  }

  .nav-wrap {
    gap: 0.65rem;
    min-height: 76px;
  }

  .brand {
    flex: 1;
    min-width: 0;
    gap: 0.55rem;
  }

  .brand-logo {
    flex: 0 0 auto;
    width: clamp(58px, 17vw, 72px);
  }

  .brand-text {
    min-width: 0;
  }

  .brand-name {
    font-size: clamp(0.95rem, 4.2vw, 1.15rem);
    line-height: 1.15;
    white-space: normal;
  }

  .menu-toggle {
    flex: 0 0 3rem;
  }

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

  .btn {
    width: 100%;
  }

  .quote-form-card,
  .contact-card,
  .info-box,
  .policy-card,
  .terms-card,
  .not-found-card {
    padding: 1.3rem;
  }

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

  .whatsapp-float {
    width: clamp(165px, 52vw, 220px);
    right: 0.8rem;
    bottom: 0.8rem;
  }

  .back-to-top {
    right: 0.95rem;
    bottom: calc(clamp(165px, 52vw, 220px) / 3.05 + 1.5rem);
  }
}

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

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal,
  .js .reveal.visible {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .js .hero.is-ready::before,
  .js .whatsapp-float,
  .js .hero-copy.visible h1,
  .js .hero-copy.visible .lead,
  .js .hero-copy.visible .hero-actions .btn {
    animation: none;
  }
}
