/* =========================================
   XPTO3D — Main Stylesheet
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;0,800;1,300;1,400&family=Roboto:ital,wght@0,300;0,400;0,500;1,300;1,400&display=swap');

/* ---- CSS Variables ---- */
:root {
  --brand-blue:    #2c6493;
  --brand-dark:    #2c6493;
  --brand-deeper:  #0f2540;
  --brand-mid:     #2c6493;
  --gold:          #9bb6cd;
  --gold-light:    #c9964a;
  --gold-dim:      #9bb6cd;
  --text-primary:  #f0f4f8;
  --text-secondary:#a8bdd0;
  --text-muted:    #5a7a94;
  --white:         #f4f4f4;
  --border:        rgba(44, 100, 147, 0.30);
  --border-gold:   rgba(201, 150, 74, 0.3);

  --font-display: 'Open Sans', sans-serif;
  --font-body:    'Roboto', sans-serif;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: #f4f4f4;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Dark text for all light-background sections and pages */
#services, #about, #contact,
.legal-page, .product-page, .svc-page {
  --text-primary:   #2c6493;
  --text-secondary: rgba(44, 100, 147, 0.72);
  --text-muted:     rgba(44, 100, 147, 0.52);
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }

/* ---- Utility ---- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
}

.section-title span { color: var(--gold); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
  margin-top: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--gold);
  color: var(--brand-deeper);
}
.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,150,74,0.35);
}

.btn-outline {
  border: 1px solid var(--border-gold);
  color: var(--gold);
  background: transparent;
}
.btn-outline:hover {
  background: rgba(201,150,74,0.08);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.btn-ghost {
  color: var(--text-secondary);
  padding: 0.85rem 1.25rem;
}
.btn-ghost:hover { color: var(--text-primary); }

.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform var(--transition); }
.btn:hover svg { transform: translateX(3px); }

/* =========================================
   NAVIGATION
   ========================================= */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0.85rem 0;
  background: #f4f4f4;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(44, 100, 147, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 36px;
  width: auto;
  color: white;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--brand-blue);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-deeper);
  background: rgba(44,100,147,0.10);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 50%; right: auto;
  width: 16px; height: 2px;
  background: var(--gold);
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  background: rgba(44,100,147,0.08);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.lang-btn {
  padding: 0.4rem 0.65rem;
  color: var(--brand-blue);
  transition: var(--transition);
  background: none;
}

.lang-btn.active {
  background: var(--brand-blue);
  color: var(--white);
}

.lang-btn:hover:not(.active) { color: var(--brand-deeper); background: rgba(44,100,147,0.08); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--brand-blue);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--brand-blue);
  z-index: 1001;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 2rem;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-primary);
  transition: var(--transition);
}

.nav-mobile a:hover { color: var(--gold); }

.nav-mobile .mobile-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  font-size: 1.5rem;
  color: var(--text-primary);
  cursor: pointer;
}

/* =========================================
   HERO SECTION
   ========================================= */
#hero {
  position: relative;
  overflow: hidden;
  padding-top: 5rem;
  padding-bottom: 3.5rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 65% 40%, rgba(255,255,255,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(201,150,74,0.08) 0%, transparent 60%),
    var(--brand-blue);
}

/* Geometric grid overlay */
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.10) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 80% at 60% 50%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 60% 50%, black 20%, transparent 80%);
}

.hero-noise {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

.hero-shape { display: none; }

@keyframes rotate-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Hero image banner */
.hero-image-wrap {
  position: relative;
  margin: 0 clamp(0.5rem, 2vw, 1.25rem);
  aspect-ratio: 16/7;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 40px 80px rgba(0,0,0,0.25), 0 0 0 1px rgba(201,150,74,0.12);
}

.hero-image-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--brand-mid) 0%, var(--brand-blue) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-image-placeholder svg {
  width: 48px; height: 48px;
  opacity: 0.3;
  stroke: var(--gold);
}

/* Gold corner accent on image */
.hero-image-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 60px; height: 60px;
  border-top: 2px solid var(--gold);
  border-left: 2px solid var(--gold);
  border-radius: var(--radius-lg) 0 0 0;
  z-index: 2;
  opacity: 0.6;
}

.hero-image-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 60px; height: 60px;
  border-bottom: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  border-radius: 0 0 var(--radius-lg) 0;
  z-index: 2;
  opacity: 0.6;
}

.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hero content — headline overlay at bottom of image */
.hero-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 2.5rem;
  background: linear-gradient(to top, rgba(15,37,64,0.88) 0%, rgba(15,37,64,0.45) 50%, transparent 90%);
  z-index: 2;
}

/* Text and CTA below the image, on the blue background */
/* .hero-below {
  padding-top: 2rem;
} */

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.0;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.hero-headline .accent {
  color: var(--gold);
  display: block;
}

.hero-headline .brand-line {
  color: rgba(255,255,255,0.75);
  font-weight: 300;
  font-style: italic;
  font-size: 0.65em;
  display: block;
  margin-top: 0.3rem;
  letter-spacing: 0.02em;
}

.hero-description {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 1.5rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  margin-bottom: 0;
  margin-top: 1rem;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.hero-stat-number span { color: var(--gold); }

.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.25rem;
}

/* =========================================
   SERVICES SECTION
   ========================================= */
#services {
  padding: clamp(5rem, 10vw, 8rem) 0;
  position: relative;
  background: #f2f7fc;
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  flex-wrap: wrap;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: #f4f4f4;
  border: 1px solid rgba(44, 100, 147, 0.14);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Image strip at top of service card */
.service-card-img {
  margin: -2rem -2rem 1.25rem;
  height: 160px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background: linear-gradient(135deg, var(--brand-mid) 0%, var(--brand-blue) 100%);
  flex-shrink: 0;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-img img {
  transform: scale(1.04);
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(44,100,147,0.08) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  border-color: rgba(201,150,74,0.5);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(44,100,147,0.12), 0 0 0 1px rgba(201,150,74,0.12);
}

.service-card:hover::before { opacity: 1; }

.service-card-icon {
  width: 48px; height: 48px;
  background: rgba(44,100,147,0.2);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.service-card:hover .service-card-icon {
  background: rgba(201,150,74,0.15);
  border-color: var(--border-gold);
}

.service-card-icon svg {
  width: 22px; height: 22px;
  stroke: var(--gold);
  fill: none;
}

.service-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
}

.service-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}

.service-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.25rem;
}

.tag {
  font-size: 0.7rem;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  background: rgba(44,100,147,0.15);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.service-card-arrow {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  transition: var(--transition);
  margin-top: 0.5rem;
}

.service-card-arrow svg {
  width: 14px; height: 14px;
  stroke: currentColor;
  transition: transform var(--transition);
}

.service-card:hover .service-card-arrow {
  color: var(--gold);
}

.service-card:hover .service-card-arrow svg {
  transform: translateX(4px);
}

/* Highlighted card */
.service-card.featured {
  border-color: rgba(201,150,74,0.3);
  background: rgba(44,100,147,0.2);
}

.service-card.featured .service-card-icon {
  background: rgba(201,150,74,0.15);
  border-color: var(--border-gold);
}

/* =========================================
   ABOUT SECTION
   ========================================= */
#about {
  padding: clamp(5rem, 10vw, 8rem) 0;
  position: relative;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
}

.about-visual {
  position: relative;
}

.about-image-stack {
  position: relative;
  aspect-ratio: 1/1.1;
  max-width: 480px;
}

.about-img-main {
  width: 88%;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.about-img-main img,
.about-img-accent img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, var(--brand-mid), var(--brand-blue));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.about-img-placeholder svg {
  width: 40px; height: 40px;
  stroke: var(--gold);
  opacity: 0.4;
}

.about-img-accent {
  position: absolute;
  bottom: 0; right: 0;
  width: 55%;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 3px solid var(--brand-blue);
}

.about-img-accent .about-img-placeholder {
  background: linear-gradient(135deg, rgba(201,150,74,0.15), rgba(44,100,147,0.3));
}

/* Gold badge */
.about-badge {
  position: absolute;
  top: 1.5rem; left: -1.5rem;
  background: var(--gold);
  color: var(--brand-deeper);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 8px 24px rgba(201,150,74,0.3);
  z-index: 1;
}

.about-intro {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-top: 1.25rem;
  margin-bottom: 2rem;
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.value-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.value-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 0.45rem;
  box-shadow: 0 0 8px rgba(201,150,74,0.4);
}

.value-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}

.value-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* =========================================
   AUREA LUMIS TEASER BANNER
   ========================================= */
.aurea-lumis-teaser {
  position: relative;
  width: 100%;
  height: clamp(200px, 28vw, 380px);
  overflow: hidden;
}

.aurea-lumis-teaser::after {
  content: 'Brevemente';
  position: absolute;
  top: 26px;
  right: -55px;
  width: 193px;
  padding: 7px 0;
  background: var(--brand-blue);
  color: #ffffff;
  font-family: var(--font-display);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  transform: rotate(45deg);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  z-index: 1;
}

.aurea-lumis-teaser img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* =========================================
   QUICK CONTACT FORM SECTION
   ========================================= */
#contact {
  padding: clamp(5rem, 10vw, 8rem) 0;
  position: relative;
  background: #f2f7fc;
}

/* Contact header — centered title block */
.contact-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

/* 3-column channel grid */
.contact-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  max-width: 820px;
  margin: 2.5rem auto 0;
}

/* Vertical card — icon on top, text centered below */
.contact-channel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
  padding: 2rem 1.5rem;
  background: #f4f4f4;
  border: 1px solid rgba(44,100,147,0.14);
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.contact-channel:hover {
  border-color: var(--brand-blue);
  background: rgba(44,100,147,0.04);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(44,100,147,0.10);
}

.contact-channel-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-channel-icon.blue  { background: rgba(44,100,147,0.25); }
.contact-channel-icon.gold  { background: rgba(201,150,74,0.15); }
.contact-channel-icon.green { background: rgba(37,211,102,0.12); }

.contact-channel-icon svg {
  width: 24px; height: 24px;
  fill: none;
  stroke-width: 1.8;
}

.contact-channel-icon.blue  svg { stroke: var(--brand-blue); }
.contact-channel-icon.gold  svg { stroke: var(--gold); }
.contact-channel-icon.green svg { stroke: #25d366; }

.contact-channel-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-family: var(--font-display);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-channel-value {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 500;
}

/* Form (kept for reference — currently commented out in HTML) */
.contact-form-wrap {
  background: #f4f4f4;
  border: 1px solid rgba(44,100,147,0.14);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.form-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.form-subtitle {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: #f4f4f4;
  border: 1px solid rgba(44,100,147,0.22);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: var(--transition);
  outline: none;
  appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand-blue);
  background: #f4f4f4;
  box-shadow: 0 0 0 3px rgba(44,100,147,0.12);
}

.form-group input.field-invalid,
.form-group select.field-invalid,
.form-group textarea.field-invalid {
  border-color: #e53e3e;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a7a94' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group select option {
  background: #f4f4f4;
  color: var(--brand-blue);
}

.form-submit {
  width: 100%;
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.form-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.75rem;
  line-height: 1.5;
}

/* Form success state */
.form-success {
  display: none;
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border: 2px solid #008000;
  border-radius: 8px;
  text-align: center;
}

.form-success p {
  margin: 0;
  color: #008000;
  font-weight: 500;
}

.form-success-icon {
  width: 56px; height: 56px;
  background: rgba(201,150,74,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-success-icon svg {
  width: 28px; height: 28px;
  stroke: var(--gold);
}

/* =========================================
   DIVIDERS & DECORATIONS
   ========================================= */
.section-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.gold-line {
  width: 48px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

/* =========================================
   FOOTER
   ========================================= */
#footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border);
  background: var(--brand-deeper);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-copy span { color: var(--gold); }

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: var(--transition);
}

.footer-links a:hover { color: var(--gold); }

/* =========================================
   SCROLL ANIMATIONS
   ========================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* =========================================
   PRODUCT PAGES
   ========================================= */

.product-page {
  padding-top: 5rem;
}

/* Two-col layout: gallery left, info right */
.product-hero {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

/* ── Gallery (left) ── */
.product-gallery {
  position: sticky;
  top: 5.5rem;
}

.product-carousel {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(44,100,147,0.18);
  background: rgba(44,100,147,0.04);
  aspect-ratio: 1 / 1;
  cursor: zoom-in;
}

.product-carousel[data-single] {
  cursor: default;
}

.product-carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.product-carousel-slide {
  position: relative;
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
}

.product-carousel-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-slide-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  background: linear-gradient(145deg, var(--brand-mid) 0%, var(--brand-blue) 100%);
  color: rgba(255,255,255,0.2);
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-slide-placeholder svg {
  opacity: 0.2;
  stroke: var(--gold);
}

/* Carousel nav arrows */
.product-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(44,100,147,0.18);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  cursor: pointer;
  transition: var(--transition);
  z-index: 2;
}

.product-carousel-btn:hover {
  background: rgba(255,255,255,1);
  border-color: var(--brand-blue);
  box-shadow: 0 2px 12px rgba(44,100,147,0.15);
}

.product-carousel-btn.prev { left: 0.75rem; }
.product-carousel-btn.next { right: 0.75rem; }
.product-carousel-btn svg  { width: 18px; height: 18px; }

/* Hide nav when single image */
.product-carousel[data-single] .product-carousel-btn,
.product-carousel[data-single] .product-carousel-dots {
  display: none;
}

/* Dots */
.product-carousel-dots {
  position: absolute;
  bottom: 0.75rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.4rem;
  z-index: 2;
}

.product-carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.product-carousel-dot.active {
  background: var(--gold);
  width: 20px;
  border-radius: 4px;
}

/* Zoom hint */
.product-carousel-zoom-hint {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(44,100,147,0.18);
  border-radius: var(--radius-sm);
  padding: 0.3rem 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--transition);
}

.product-carousel:hover .product-carousel-zoom-hint { opacity: 1; }
.product-carousel-zoom-hint svg { width: 11px; height: 11px; stroke: var(--brand-mid); }

/* Thumbnail strip */
.product-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.product-thumbs::-webkit-scrollbar { display: none; }

.product-thumb {
  flex-shrink: 0;
  width: 62px;
  height: 62px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  opacity: 0.5;
}

.product-thumb.active {
  border-color: var(--gold);
  opacity: 1;
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-thumb-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--brand-mid), var(--brand-blue));
}

/* ── Product info (right) ── */
.product-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.product-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.15;
}

.product-price {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  font-weight: 800;
  color: var(--gold);
}

.product-price--consult {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--text-muted);
  font-weight: 600;
}

.product-info-divider {
  height: 1px;
  background: var(--border);
}

.product-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.product-desc p + p { margin-top: 1rem; }

.product-desc ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.product-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.92rem;
}

.product-table thead tr {
  background: var(--brand-blue);
  color: #ffffff;
}

.product-table thead th {
  padding: 0.65rem 1rem;
  text-align: left;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.product-table tbody tr {
  border-bottom: 1px solid rgba(44, 100, 147, 0.15);
}

.product-table tbody tr:nth-child(even) {
  background: rgba(44, 100, 147, 0.05);
}

.product-table tbody td {
  padding: 0.6rem 1rem;
  color: var(--text-secondary);
}

.product-table tbody td:last-child {
  font-weight: 600;
  color: var(--text-primary);
}

/* ── Form section ── */
.product-form-section {
  border-top: 1px solid var(--border);
  padding: clamp(3rem, 5vw, 4.5rem) 0;
}

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5,14,24,0.95);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-inner {
  position: relative;
  max-width: min(88vw, 920px);
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 88vh;
  border-radius: var(--radius-lg);
  object-fit: contain;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: -2.75rem;
  right: 0;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  transition: color var(--transition);
}

.lightbox-close:hover { color: var(--text-primary); }

.lightbox-counter {
  position: absolute;
  bottom: -2rem;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}

.lightbox-btn {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(28,63,102,0.65);
  border: 1px solid var(--border);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  cursor: pointer;
  transition: var(--transition);
  z-index: 2001;
}

.lightbox-btn:hover {
  background: rgba(28,63,102,0.95);
  border-color: var(--border-gold);
}

.lightbox-btn.prev { left: 1.5rem; }
.lightbox-btn.next { right: 1.5rem; }
.lightbox-btn svg  { width: 22px; height: 22px; }

.lightbox[data-single] .lightbox-btn,
.lightbox[data-single] .lightbox-counter { display: none; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .hero-image-wrap { aspect-ratio: 16/8; margin: 0 clamp(0.25rem, 1vw, 0.75rem); }
}

@media (max-width: 860px) {
  .product-layout { grid-template-columns: 1fr; }
  .product-gallery { position: static; }

  .about-inner { grid-template-columns: 1fr; }

  .about-visual { order: -1; max-width: 400px; }
  .about-badge { left: 0; }

  .hero-image-wrap { aspect-ratio: 4/3; margin: 0 0.25rem; }
  .hero-content { padding: 1.25rem 1.5rem; }

  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions .btn-outline { display: none; }
  .nav-hamburger { display: flex; }

  .services-header { flex-direction: column; align-items: flex-start; }

  .hero-stats { gap: 1.5rem; }
}

@media (max-width: 600px) {
  .hero-image-wrap {
    aspect-ratio: unset;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .hero-image-wrap img {
    height: 220px;
    flex-shrink: 0;
    width: 100%;
    object-fit: cover;
  }

  .hero-content {
    position: static;
    background: rgba(15, 37, 64, 0.97);
    padding: 1.25rem 1.5rem;
    border-top: 1px solid rgba(201, 150, 74, 0.2);
  }

  .hero-image-wrap::before,
  .hero-image-wrap::after { display: none; }
}

@media (max-width: 540px) {
  .contact-channels { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .hero-stats { flex-wrap: wrap; gap: 1.25rem; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 1rem; }
}

/* =========================================
   SERVICE PAGES
   ========================================= */

.svc-page {
  padding-top: 5rem;
}

/* Banner */
.svc-banner {
  width: 100%;
  height: clamp(620px, 38vh, 440px);
  overflow: hidden;
  position: relative;
  
}

.svc-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.svc-banner-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--brand-mid) 0%, var(--brand-blue) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.svc-banner-placeholder svg {
  width: 48px;
  height: 48px;
  opacity: 0.3;
  stroke: var(--gold);
}

/* Hero split — text left / image right (signage page) */
.svc-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 620px;
  overflow: hidden;
}

.svc-hero-split-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3.5rem);
  background: var(--surface);
}

.svc-hero-split-img {
  position: relative;
  overflow: hidden;
}

.svc-hero-split-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center top;
}

@media (max-width: 600px) {
  .svc-hero-split {
    grid-template-columns: 1fr;
    height: auto;
  }
  .svc-hero-split-img {
    order: -1;
    max-height: 530px;
  }
  .svc-hero-split-img img {
    height: auto;
    max-height: 530px;
    object-fit: initial;
  }
}

/* Intro */
.svc-intro {
  padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem;
}

.svc-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.svc-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 760px;
}

/* Two-column types section */
.svc-columns-section {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.svc-columns-heading {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.svc-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.svc-col-img-wrap {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  margin-bottom: 1.25rem;
}

.svc-col-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.svc-col-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--brand-mid) 0%, var(--brand-blue) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.svc-col-placeholder svg {
  opacity: 0.3;
  stroke: var(--gold);
}

.svc-col-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.svc-col-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Form section */
.svc-form-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.svc-form-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.svc-form-title span { color: var(--gold); }

.svc-form-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-top: 0.75rem;
  margin-bottom: 2rem;
}

.svc-form-wrap {
  max-width: 760px;
  margin: 0 auto;
}

.svc-form-section .section-label,
.svc-form-section .svc-form-title,
.svc-form-section .svc-form-subtitle {
  text-align: center;
}

/* Label helpers */
.form-optional {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 400;
  font-style: italic;
  letter-spacing: 0;
  text-transform: none;
  font-family: var(--font-body);
}

.form-required { color: var(--gold); }

.form-hint {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  font-family: var(--font-body);
}

/* File upload */
.form-upload {
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.form-upload:hover {
  border-color: var(--border-gold);
  background: rgba(201,150,74,0.04);
}

.form-upload input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.form-upload-icon {
  width: 18px;
  height: 18px;
  stroke: var(--text-muted);
  margin: 0 auto 0.4rem;
  display: block;
}

.form-upload-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.form-upload-text strong { color: var(--gold); }

.form-upload-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* GDPR checkbox */
.form-gdpr {
  margin-bottom: 1rem;
}

.gdpr-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

.gdpr-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin-top: 0.2rem;
  accent-color: var(--gold);
  cursor: pointer;
  flex-shrink: 0;
}

.gdpr-label span {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* reCAPTCHA placeholder */
.recaptcha-placeholder {
  background: rgba(44,100,147,0.05);
  border: 1px dashed rgba(44,100,147,0.22);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-display);
  letter-spacing: 0.06em;
}

/* Carousel */
.svc-carousel {
  position: relative;
  width: 100%;
  height: clamp(520px, 38vh, 440px);
  overflow: hidden;
}

.svc-carousel--banner {
  height: clamp(620px, 38vh, 440px);
}

@media (max-width: 600px) {
  .svc-carousel--banner {
    height: auto;
    max-height: 530px;
  }
  .svc-carousel--banner .carousel-track {
    height: auto;
  }
  .svc-carousel--banner .carousel-slide {
    height: auto;
    max-height: 530px;
  }

  .svc-banner {
    height: auto;
    max-height: 530px;
  }
  .svc-banner img {
    height: auto;
    max-height: 530px;
    object-fit: initial;
  }
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  object-fit: cover;
  object-position: center;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(44,100,147,0.18);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-blue);
  transition: var(--transition);
  z-index: 2;
  flex-shrink: 0;
}

.carousel-btn:hover {
  background: rgba(255,255,255,1);
  border-color: var(--brand-blue);
  box-shadow: 0 2px 12px rgba(44,100,147,0.15);
}

.carousel-btn svg { width: 20px; height: 20px; }

.carousel-prev { left: 1rem; }
.carousel-next { right: 1rem; }

.carousel-dots {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 2;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.carousel-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

/* =========================================
   NFC / QR CODE — PRODUCT STORE
   ========================================= */

.nfc-store {
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(3rem, 6vw, 5rem);
}

.nfc-store-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 1rem;
}

/* Base card */
.nfc-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(44,100,147,0.14);
  background: #f4f4f4;
  box-shadow: 0 2px 12px rgba(44,100,147,0.07);
  text-decoration: none;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.nfc-card:hover {
  border-color: rgba(201,150,74,0.5);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(44,100,147,0.16);
}

/* Featured card spans both rows */
.nfc-card-featured {
  grid-row: 1 / 3;
}

/* Image area */
.nfc-card-img {
  position: relative;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.nfc-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.nfc-card:hover .nfc-card-img img {
  transform: scale(1.04);
}

.nfc-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.22);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nfc-card-placeholder svg { opacity: 0.22; stroke: var(--gold); }

/* Hover overlay */
.nfc-card-hover {
  position: absolute;
  inset: 0;
  background: rgba(15,37,64,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity var(--transition);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  color: var(--gold);
}

.nfc-card:hover .nfc-card-hover { opacity: 1; }

.nfc-card-hover svg {
  width: 18px;
  height: 18px;
  stroke: var(--gold);
  transition: transform var(--transition);
}

.nfc-card:hover .nfc-card-hover svg { transform: translateX(4px); }

/* Card info bar */
.nfc-card-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

.nfc-card-name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.3;
}

.nfc-card-featured .nfc-card-name { font-size: 1rem; }

.nfc-card-price {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--gold);
  white-space: nowrap;
  flex-shrink: 0;
}

.nfc-card-featured .nfc-card-price { font-size: 1.05rem; }

/* Two-product equal grid (Outros page) */
.nfc-store-grid--two {
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 380px;
}

.nfc-store-grid--one {
  grid-template-columns: minmax(0, 480px);
  grid-template-rows: 380px;
  justify-content: center;
}

/* Price — no fixed price variant */
.nfc-card-price--consult {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
}

/* Responsive */
@media (max-width: 640px) {
  .nfc-store-grid,
  .nfc-store-grid--two {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .nfc-card-featured { grid-row: auto; }
  .nfc-card-img { aspect-ratio: 4/3; flex: none; }
}

/* Narrow field variant (e.g. quantity) */
.form-group-narrow {
  max-width: 200px;
}

/* Service page responsive */
@media (max-width: 768px) {
  .svc-columns { grid-template-columns: 1fr; }
  .carousel-btn { width: 36px; height: 36px; }
}

/* =============================================
   LEGAL PAGES (Terms, Privacy, etc.)
   ============================================= */
.legal-page { padding-bottom: 5rem; }
.legal-hero { padding: clamp(6rem, 10vw, 8rem) 0 2rem; }
.legal-hero .section-label { margin-bottom: 0.5rem; }
.legal-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}
.legal-updated { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.25rem; }
.legal-body { max-width: 760px; margin: 0 auto; padding-bottom: 3rem; }
.legal-section { margin-bottom: 2.5rem; }
.legal-section h2 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(44,100,147,0.12);
}
.legal-section p,
.legal-section li {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.legal-section p { margin-bottom: 0.75rem; }
.legal-section ul,
.legal-section ol { padding-left: 1.5rem; margin: 0.5rem 0 0.75rem; }
.legal-section li { margin-bottom: 0.4rem; }
.legal-section strong { color: var(--text-primary); font-weight: 600; }
.legal-section a { color: var(--gold); text-decoration: none; }
.legal-section a:hover { text-decoration: underline; }

/* Footer legal nav */
.footer-legal {
  border-top: 1px solid rgba(255,255,255,0.10);
  padding-top: 0.75rem;
  margin-top: 0.75rem;
  display: flex;
  justify-content: center;
}
.footer-legal nav { display: flex; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
.footer-legal a {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--text-primary); }

/* =============================================
   LEGAL CALLOUT BOX
   ============================================= */
.legal-callout {
  background: rgba(201,150,74,0.07);
  border: 1px solid rgba(201,150,74,0.18);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1rem 0 1.5rem;
}

/* =============================================
   COOKIE TABLE (cookies.html)
   ============================================= */
.cookie-table-wrap {
  overflow-x: auto;
  margin: 1rem 0 1.25rem;
  border-radius: var(--radius);
  border: 1px solid rgba(44,100,147,0.15);
}
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
  min-width: 580px;
}
.cookie-table th {
  background: rgba(44,100,147,0.05);
  padding: 0.65rem 1rem;
  text-align: left;
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 1px solid rgba(44,100,147,0.12);
  white-space: nowrap;
}
.cookie-table td {
  padding: 0.75rem 1rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(44,100,147,0.08);
  vertical-align: top;
  line-height: 1.55;
}
.cookie-table tr:last-child td { border-bottom: none; }
.cookie-table code {
  font-family: 'Courier New', monospace;
  font-size: 0.72rem;
  background: rgba(44,100,147,0.08);
  padding: 0.1em 0.35em;
  border-radius: 3px;
  color: var(--brand-blue);
  white-space: nowrap;
}

/* =============================================
   COOKIE CONSENT BANNER
   ============================================= */

/* Outer wrapper — fixed at bottom, slides in */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
#cookie-banner.cookie-banner--visible { transform: translateY(0); }
#cookie-banner.cookie-banner--hidden  { transform: translateY(100%); pointer-events: none; }

/* Preferences panel — expands upward above the bar */
.cookie-panel {
  background: #0d1f30;
  border-top: 1px solid rgba(255,255,255,0.1);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.cookie-panel.cookie-panel--open { max-height: 600px; }

.cookie-panel-inner {
  padding: 1.5rem clamp(1rem, 4vw, 2rem);
  max-width: 960px;
  margin: 0 auto;
}
.cookie-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.cookie-panel-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
}
.cookie-panel-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  padding: 0.25rem 0.5rem;
  line-height: 1;
  transition: color var(--transition);
}
.cookie-panel-close:hover { color: var(--text-primary); }

/* Cookie categories */
.cookie-cat {
  padding: 0.85rem 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.cookie-cat:first-child { border-top: none; padding-top: 0; }
.cookie-cat-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.35rem;
}
.cookie-cat-info { flex: 1; }
.cookie-cat-info strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}
.cookie-cat-info span { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; }
.cookie-cat-detail { font-size: 0.73rem; color: var(--text-muted); line-height: 1.6; opacity: 0.7; }

/* "Always active" badge */
.cookie-cat-locked span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  white-space: nowrap;
  padding-top: 0.1rem;
  display: block;
}

/* Toggle switch */
.cookie-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  flex-shrink: 0;
}
.cookie-toggle input { position: absolute; opacity: 0; width: 0; height: 0; }
.cookie-toggle-track {
  display: block;
  width: 40px;
  height: 22px;
  background: rgba(255,255,255,0.12);
  border-radius: 11px;
  transition: background 0.2s ease;
  position: relative;
}
.cookie-toggle-track::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.2s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
.cookie-toggle input:checked ~ .cookie-toggle-track { background: var(--gold); }
.cookie-toggle input:checked ~ .cookie-toggle-track::after { transform: translateX(18px); }
.cookie-toggle:focus-within .cookie-toggle-track { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Panel footer */
.cookie-panel-footer {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  margin-top: 0.5rem;
}

/* The bar */
.cookie-bar {
  background: var(--brand-deeper);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 0.9rem clamp(1rem, 4vw, 2rem);
}
.cookie-bar-inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.cookie-bar-text {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  flex: 1;
  min-width: 220px;
}
.cookie-bar-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 0.1rem;
}
.cookie-bar-text p { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; margin: 0; }
.cookie-bar-text a { color: var(--gold); text-decoration: none; }
.cookie-bar-text a:hover { text-decoration: underline; }
.cookie-bar-actions { display: flex; gap: 0.5rem; flex-shrink: 0; flex-wrap: wrap; align-items: center; }

/* Cookie buttons */
.cookie-btn {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
  line-height: 1;
}
.cookie-btn--ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.15);
  color: var(--text-muted);
}
.cookie-btn--ghost:hover { border-color: rgba(255,255,255,0.3); color: var(--text-primary); }
.cookie-btn--outline { background: transparent; border-color: var(--gold); color: var(--gold); }
.cookie-btn--outline:hover { background: rgba(201,150,74,0.1); }
.cookie-btn--primary { background: var(--gold); color: var(--brand-deeper); border-color: var(--gold); font-weight: 700; }
.cookie-btn--primary:hover { background: #d4a55a; border-color: #d4a55a; }

/* Mobile */
@media (max-width: 600px) {
  .cookie-bar-inner { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .cookie-bar-actions { width: 100%; justify-content: flex-end; }
  .cookie-btn { font-size: 0.68rem; padding: 0.45rem 0.75rem; }
  .cookie-panel.cookie-panel--open { max-height: 700px; }
  .cookie-panel-footer { flex-direction: column-reverse; }
  .cookie-panel-footer .cookie-btn { width: 100%; justify-content: center; text-align: center; }
}
