:root {
  --bg: #f6f3ee;
  --surface: #ffffff;
  --card: #ffffff;
  --surface-soft: #faf8f4;
  --text: #1b1f27;
  --muted: #5b6472;
  --primary: #14213d;
  --primary-soft: #223258;
  --secondary: #3f6b6f;
  --accent: #b5622e;
  --accent-soft: #f3e3d4;
  --border: #e6e0d6;
  --shadow: 0 28px 70px rgba(20, 25, 41, 0.1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(180deg, #f6f3ee 0%, #faf8f4 100%);
  color: var(--text);
  line-height: 1.75;
  overflow-x: hidden;
  font-size: clamp(0.96rem, 0.94rem + 0.14vw, 1.02rem);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Skip to Content Link */
.skip-to-content {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--text);
  color: #fff;
  padding: 0.5rem 1rem;
  text-decoration: none;
  z-index: 100;
  border-radius: 0 0 4px 0;
  font-weight: 600;
}

.skip-to-content:focus {
  top: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  color: var(--text);
  margin: 0;
}

p, li, label, input, select, textarea, a, button {
  font-family: 'Inter', system-ui, sans-serif;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button, input, select, textarea {
  font: inherit;
}

.page-width {
  width: min(1140px, calc(100% - 2rem));
  margin: 0 auto;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.7s ease forwards;
}

.slide-in-down {
  animation: slideInDown 0.5s ease forwards;
}

.fade-in {
  opacity: 0;
}

.fade-in.visible {
  animation: fadeInUp 0.7s ease forwards;
}

/* Header */
.header {
  background: linear-gradient(90deg, rgba(20, 33, 61, 0.98), rgba(20, 33, 61, 0.95));
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  flex-shrink: 0;
  min-width: 0;
}

.brand-logo {
  width: 62px;
  height: 62px;
  object-fit: contain;
  padding: 0.25rem;
  border-radius: 18px;
  border: 2px solid rgba(181, 98, 46, 0.55);
  background: #fff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  transform-origin: center;
  flex-shrink: 0;
}

.brand-logo.enlarged {
  transform: scale(1.8);
  box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
  z-index: 20;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-copy h1,
.brand-title {
  font-size: clamp(1rem, 1.35vw, 1.35rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.2;
  white-space: normal;
  overflow-wrap: anywhere;
}

.brand-title-separator {
  color: #d9a677;
}

.brand-subtitle {
  color: #d9a677;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin: 0;
  line-height: 1.4;
  white-space: normal;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  justify-content: center;
}

.nav-link {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 0.9rem;
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}

.nav-link:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transform: translateY(-1px);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 18px 40px rgba(181, 98, 46, 0.28);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}

.header-cta:hover {
  background: #9c5326;
  transform: translateY(-1px);
  box-shadow: 0 22px 50px rgba(181, 98, 46, 0.34);
}

.hamburger {
  display: none;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  z-index: 40;
  flex-shrink: 0;
  margin-left: auto;
}

.hamburger-line {
  width: 26px;
  height: 2.5px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

/* Hero */
.hero {
  background: linear-gradient(135deg, #14213d 0%, #0a1122 100%);
  color: #fff;
  padding: 4.5rem 0 5rem;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  min-height: clamp(560px, 78vh, 760px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(181, 98, 46, 0.28), transparent 38%), radial-gradient(circle at left center, rgba(255, 255, 255, 0.06), transparent 24%);
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: 680px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-card {
  width: min(100%, 520px);
  padding: 0.85rem;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
  backdrop-filter: blur(14px);
}

.hero-image-card img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  object-fit: cover;
  display: block;
}

.eyebrow, .section .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow {
  color: rgba(255, 255, 255, 0.92);
}

.section .eyebrow {
  color: var(--accent);
}

.hero h1,
.hero h2 {
  font-size: clamp(2rem, 3.3vw, 3.4rem);
  line-height: 1.02;
  max-width: 680px;
  margin-bottom: 1.2rem;
}

.hero-text {
  max-width: 620px;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 1rem 1.4rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: #fff;
  color: var(--text);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
}

.btn-primary:hover {
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.16);
}

.delivery-copy .btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 20px 40px rgba(181, 98, 46, 0.28);
}

.delivery-copy .btn-primary:hover {
  background: #9c5326;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero-actions .btn-secondary {
  background: #16a34a;
  color: #fff;
  border-color: transparent;
}

.hero-actions .btn-secondary:hover {
  background: #22c55e;
  border-color: transparent;
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-secondary:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.btn-primary:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

.hero-panel {
  display: grid;
}

.hero-panel-card {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 32px;
  padding: 2rem;
  backdrop-filter: blur(20px);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.15);
}

.panel-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.hero-benefits {
  list-style: none;
  margin-top: 1.5rem;
  display: grid;
  gap: 0.9rem;
}

.hero-benefits li {
  position: relative;
  padding-left: 1.8rem;
  color: #f8fafc;
}

.hero-benefits li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.56rem;
  height: 0.56rem;
  border-radius: 50%;
  background: #fb923c;
}

/* Sections */
.section {
  padding: 4.25rem 0;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
  max-width: 720px;
}

.section-head h2 {
  font-size: clamp(1.95rem, 2.4vw, 2.8rem);
  line-height: 1.08;
  max-width: 760px;
}

.products .product-grid,
.feature-grid,
.testimonial-grid {
  display: grid;
  gap: 1.4rem;
}

.product-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.gallery-card {
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.14);
}

.gallery-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.product-card,
.feature-card,
.testimonial-card {
  position: relative;
  background: linear-gradient(145deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 28px;
  padding: 2rem;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
}

.product-card::before,
.feature-card::before,
.testimonial-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0.95;
}

.product-card:hover,
.feature-card:hover,
.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.14);
  border-color: rgba(15, 23, 42, 0.12);
}

.product-card h3,
.feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.product-card p,
.feature-card p,
.testimonial-card p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.product-card ul,
.delivery-list,
.contact-info-panel ul {
  list-style: none;
  padding-left: 0;
  display: grid;
  gap: 0.6rem;
  margin-top: auto;
}

.product-card li,
  .delivery-list li {
  padding-left: 1.3rem;
}

.product-card li::before,
  .delivery-list li::before {
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
}

.product-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 260px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  background: #f0f0f0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.03);
}

.product-image img {
  display: block;
  width: 100%;
}

/* Focus styles for keyboard navigation */
.nav-link:focus,
.product-card:focus,
.feature-card:focus,
.testimonial-card:focus {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

body *:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}


.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card h3 {
  margin-bottom: 0.85rem;
}

/* Delivery */
.delivery-hero {
  padding: 4rem 0;
  color: #fff;
  position: relative;
  background-size: cover;
  background-position: center;
}

.delivery-hero .eyebrow {
  color: #fff;
}

.delivery-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent 30%);
  pointer-events: none;
}

.delivery-hero-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.delivery-hero h2 {
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1.1;
  max-width: 640px;
}

.delivery-hero p {
  font-size: 1.05rem;
  max-width: 600px;
  color: rgba(255, 255, 255, 0.95);
}

.delivery-content {
  padding: 3rem 0;
}

.delivery-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.delivery-copy h3 {
  margin-bottom: 1rem;
}

.delivery-list {
  margin: 1.25rem 0 1.75rem;
}

.delivery-image img {
  width: 100%;
  border-radius: 24px;
  object-fit: cover;
  min-height: 320px;
  box-shadow: var(--shadow);
}

.testimonial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card h4 {
  margin-top: 1.2rem;
  font-weight: 600;
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  right: 1.5rem;
  bottom: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #1ea952);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 0;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.2);
  z-index: 60;
  transition: all 0.3s ease;
  backdrop-filter: blur(6px);
}

.whatsapp-float:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 60px rgba(37, 211, 102, 0.3);
  background: #20c856;
}

/* Footer */
.site-footer {
  background: #0a1122;
  color: #c7cbd6;
  padding: 2.5rem 0 1.5rem;
  margin-top: 3rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-section h3,
.footer-section h4 {
  color: #fff;
  margin-bottom: 1rem;
}

.footer-section p {
  line-height: 1.8;
  max-width: 360px;
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.footer-section a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.25s ease;
  word-break: break-word;
}

.footer-section a:hover {
  color: #fff;
}

.footer-contact a[href^="mailto:"] {
  white-space: nowrap;
}

.footer-section li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.footer-icon {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
  vertical-align: middle;
  flex-shrink: 0;
}

.footer-logo {
  margin-bottom: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.2);
  margin-top: 2rem;
  padding-top: 1.2rem;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  margin: 0;
  color: #94a3b8;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .hero-visual {
    justify-content: flex-start;
  }

  .hero-image-card {
    width: min(100%, 480px);
  }

  .contact-card-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 990px) {
  .product-grid,
  .feature-grid,
  .testimonial-grid,
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .delivery-inner,
  .contact-inner,
  .footer-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .header-inner {
    padding: 0.9rem 0;
    flex-wrap: wrap;
  }

  .brand {
    flex: 1 1 auto;
  }
  .hamburger {
    display: flex;
  }

  .site-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--primary);
    padding: 1rem 0;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 39;
    justify-content: flex-start;
    flex: none;
  }

  .site-nav.active {
    max-height: 240px;
  }

  .nav-link {
    padding: 0.95rem 1.25rem;
    border-radius: 0;
    color: #fff;
  }

  .nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
  }

  .header-cta {
    display: none;
  }

  .hero-visual {
    justify-content: center;
    margin-top: 0.5rem;
  }

  .hero-image-card {
    width: min(100%, 420px);
    padding: 0.7rem;
  }

  .hero h1,
  .hero h2 {
    font-size: 2rem;
  }

  .hero-inner {
    gap: 1.75rem;
  }

  .hero-panel-card {
    padding: 1.5rem;
  }

  .product-grid,
  .feature-grid,
  .testimonial-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .section-head h2 {
    font-size: 1.65rem;
  }

  .delivery-hero h2 {
    font-size: 1.75rem;
  }

  .contact-inner,
  .delivery-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    right: 1rem;
    bottom: 1.5rem;
  }
}

@media (max-width: 640px) {
  .page-width {
    width: calc(100% - 1.5rem);
  }

  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .brand-copy h1 {
    font-size: 1.15rem;
  }

  .brand-subtitle {
    font-size: 0.7rem;
  }

  .hero {
    padding: 2.5rem 0 3rem;
    min-height: auto;
  }

  .hero h1,
  .hero h2 {
    font-size: 1.75rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    padding: 0.95rem 1.2rem;
    width: 100%;
    font-size: 0.95rem;
  }

  .hero-panel-card {
    padding: 1.25rem;
  }

  .panel-title {
    font-size: 1rem;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .product-card,
  .feature-card,
  .testimonial-card {
    padding: 1.5rem;
    border-radius: 20px;
  }

  .section {
    padding: 3.25rem 0;
  }

  .delivery-hero {
    padding: 2.5rem 0;
  }

  .delivery-hero h2 {
    font-size: 1.5rem;
  }

  .delivery-hero p {
    font-size: 0.95rem;
  }

  .whatsapp-float {
    width: 48px;
    height: 48px;
  }

  section {
    margin-bottom: 1.5rem;
  }

  .eyebrow {
    font-size: 0.75rem;
  }
}

@media (max-width: 480px) {
  .brand {
    min-width: 0;
    gap: 0.5rem;
  }

  .brand-copy h1 {
    font-size: 1rem;
  }

  .brand-subtitle {
    display: none;
  }

  .hero h1,
  .hero h2 {
    font-size: 1.5rem;
    line-height: 1.1;
  }

  .hero-inner {
    gap: 1.25rem;
  }

  .hero-text {
    font-size: 0.95rem;
  }

  .section-head h2 {
    font-size: 1.4rem;
  }

  .product-card h3,
  .feature-card h3 {
    font-size: 1rem;
  }

  .delivery-hero h2 {
    font-size: 1.3rem;
  }
}

:root {
  --contact-bg: #f7f8fc;
  --contact-card: rgba(255, 255, 255, 0.96);
  --contact-border: rgba(15, 23, 42, 0.08);
  --contact-shadow: rgba(15, 23, 42, 0.12);
  --contact-heading: #0f172a;
  --contact-copy: #475569;
}

.section.contact {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(181, 98, 46, 0.16), transparent 28%),
    linear-gradient(135deg, #f8fbff 0%, #eef4fb 100%);
  padding: 5.75rem 0 6.75rem;
}

.section.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(20, 33, 61, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(20, 33, 61, 0.03) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 90%);
  pointer-events: none;
}

.section.contact .section-head {
  position: relative;
  z-index: 1;
  text-align: center;
  margin-bottom: 2.5rem;
}

.section.contact .section-head .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--accent);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  background: rgba(181, 98, 46, 0.12);
  border: 1px solid rgba(181, 98, 46, 0.18);
}

.section.contact .section-head h2 {
  max-width: 760px;
  margin: 1.1rem auto 0;
  font-size: clamp(2.1rem, 2.7vw, 3rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: var(--contact-heading);
}

.section.contact .section-head .section-trustline {
  max-width: 700px;
  margin: 1rem auto 0;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
}

.contact-card-wrap {
  position: relative;
  z-index: 1;
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.contact-card {
  position: relative;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
  border-radius: 30px;
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  padding: 2.25rem 1.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 0;
  justify-content: space-between;
  transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
  overflow: hidden;
}

.contact-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 30px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), transparent 40%);
}

.contact-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 132px;
  height: 4px;
  background: linear-gradient(90deg, rgba(20, 33, 61, 0.9), rgba(181, 98, 46, 0.9));
  border-radius: 999px;
  margin-top: 0.95rem;
  opacity: 0.75;
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 34px 80px rgba(15, 23, 42, 0.16);
  border-color: rgba(20, 33, 61, 0.12);
}

.contact-card-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.contact-card-icon {
  position: relative;
  z-index: 1;
  width: 76px;
  height: 76px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.contact-card-icon svg {
  width: 32px;
  height: 32px;
}

.contact-card-icon-blue {
  background: linear-gradient(135deg, rgba(20, 33, 61, 0.12), rgba(20, 33, 61, 0.06));
  color: var(--primary);
}

.contact-card-icon-green {
  background: linear-gradient(135deg, rgba(22, 163, 74, 0.16), rgba(22, 163, 74, 0.06));
  color: #16a34a;
}

.contact-card-icon-orange {
  background: linear-gradient(135deg, rgba(181, 98, 46, 0.16), rgba(181, 98, 46, 0.06));
  color: var(--accent);
}

.contact-card-icon-purple {
  background: linear-gradient(135deg, rgba(63, 107, 111, 0.16), rgba(63, 107, 111, 0.06));
  color: var(--secondary);
}

.contact-card h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--contact-heading);
}

.contact-card p {
  position: relative;
  z-index: 1;
  margin: 0 0 1.15rem;
  color: var(--contact-copy);
  line-height: 1.8;
  max-width: 380px;
}

.contact-card .office-list {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  max-width: 380px;
  text-align: left;
}

.contact-card .office-list li {
  margin-bottom: 0.7rem;
  color: var(--contact-copy);
  font-size: 0.95rem;
}

.contact-card .office-list li strong {
  color: var(--text);
}

.contact-button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.9rem 1.35rem;
  width: auto;
  max-width: 100%;
  border-radius: 999px;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
  white-space: normal;
  word-break: break-word;
  color: #ffffff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.contact-button-blue {
  background: linear-gradient(135deg, #ffffff 0%, #f2f6ff 100%);
  color: var(--primary);
  border: 1px solid rgba(20, 33, 61, 0.16);
}

.contact-button-green {
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
  color: #ffffff;
}

.contact-button-orange {
  background: linear-gradient(135deg, var(--accent) 0%, #c96f31 100%);
  color: #ffffff;
}

.contact-button:hover,
.contact-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.16);
  filter: saturate(1.08);
}

/* Contact section responsive rules (top-level — not nested in any selector) */
@media (max-width: 960px) {
  .contact-card-wrap {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-card {
    padding: 2.1rem 1.6rem;
    min-height: auto;
    justify-content: flex-start;
    overflow: visible;
  }
}

@media (max-width: 640px) {
  .section.contact {
    padding: 3rem 0 4.5rem;
  }

  .contact-card {
    padding: 1.6rem 1.2rem;
    min-height: auto;
  }

  .contact-card-icon {
    width: 58px;
    height: 58px;
  }

  .contact-card h3 {
    font-size: 1.25rem;
  }

  .contact-card p {
    max-width: 100%;
    font-size: 0.98rem;
  }

  .contact-button {
    width: 100%;
    min-width: unset;
  }
}
