/* =========================================================
   FLOWBERRY TRAVEL — RECOMENDAÇÕES (EDITORIAL)
   Shares design system with index.css
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;0,900;1,400;1,700&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --ink:          #16181D;
  --ink-soft:     #2A2D35;
  --paper:        #F6F2EB;
  --paper-dark:   #EFE8DD;
  --rule:         #D8CEBF;
  --muted:        #6E6659;

  --berry:        #A8321C;
  --berry-bright: #C83A1E;
  --ochre:        #C8963E;
  --sky:          #4A6A8A;
  --forest:       #3F5947;

  --shadow:       0 20px 60px -20px rgba(22, 24, 29, 0.25);
  --shadow-sm:    0 8px 24px -8px rgba(22, 24, 29, 0.12);

  --serif:   'Playfair Display', Georgia, serif;
  --sans:    'Inter', -apple-system, sans-serif;
  --mono:    'JetBrains Mono', 'Courier New', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.03;
  background-image:
    url("data:image/svg+xml;utf8,<svg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
}

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}

img { max-width: 100%; height: auto; }

/* =========================================================
   NAV
   ========================================================= */

.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.2rem 3vw;
  display: flex;
  align-items: center;
  background: rgba(246, 242, 235, 0.82);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--rule);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex: 1;
}

.logo-img { height: 38px; width: auto; }

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.25s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--berry);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s cubic-bezier(.5,0,.2,1);
}

.nav-links a:hover { color: var(--berry); }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
  justify-content: flex-end;
}

.lang-sel { position: relative; }

.lang-btn {
  background: transparent;
  border: 1px solid var(--rule);
  padding: 0.5rem 0.85rem;
  border-radius: 100px;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.2s;
}

.lang-btn:hover { border-color: var(--ink); }

.flag-icon {
  width: 20px;
  height: 14px;
  display: inline-block;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
}

.flag-pt { background-image: url('https://flagcdn.com/w40/pt.png'); }
.flag-en { background-image: url('https://flagcdn.com/w40/gb.png'); }
.flag-es { background-image: url('https://flagcdn.com/w40/es.png'); }
.flag-ru { background-image: url('https://flagcdn.com/w40/ru.png'); }
.flag-br { background-image: url('https://flagcdn.com/w40/br.png'); }
.flag-fr { background-image: url('https://flagcdn.com/w40/fr.png'); }

.lang-drop {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: 8px;
  padding: 0.4rem;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.25s;
  box-shadow: var(--shadow);
}

.lang-sel.open .lang-drop {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-opt {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.75rem;
  cursor: pointer;
  border: none;
  background: transparent;
  width: 100%;
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  border-radius: 5px;
  text-align: left;
  transition: background 0.2s;
}

.lang-opt:hover { background: var(--paper-dark); }
.lang-opt.active { background: var(--ink); color: var(--paper); }

.back-btn {
  font-family: var(--sans);
  background: var(--ink);
  color: var(--paper);
  padding: 0.65rem 1.3rem;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.25s;
  border: 1px solid var(--ink);
}

.back-btn:hover {
  background: var(--berry);
  border-color: var(--berry);
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  padding: 9rem 3vw 5rem;
  max-width: 1400px;
  margin: 0 auto;
  text-align: left;
  position: relative;
}

.hero::before {
  content: none;
}

.hero-chapter {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--berry);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  line-height: 0.95;
  letter-spacing: -0.035em;
  margin-bottom: 2rem;
  font-weight: 400;
  max-width: 900px;
}

.hero h1 span {
  font-style: italic;
  color: var(--berry);
  position: relative;
  display: inline-block;
}

.hero h1 span::after {
  content: '';
  position: absolute;
  bottom: 0.15em;
  left: 0;
  right: 0;
  height: 0.08em;
  background: var(--berry);
  opacity: 0.25;
}

.hero > p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  max-width: 700px;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.affiliate-notice {
  background: var(--paper-dark);
  border-left: 3px solid var(--ochre);
  padding: 1.2rem 1.5rem;
  max-width: 900px;
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.55;
  font-family: var(--sans);
}

.affiliate-notice a {
  color: var(--berry);
  text-decoration: underline;
  font-weight: 500;
}

/* =========================================================
   CATEGORY NAV
   ========================================================= */

.cat-nav {
  position: sticky;
  top: 70px;
  z-index: 50;
  background: var(--paper);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow-x: auto;
  padding: 0 3vw;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.cat-nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  gap: 0;
  align-items: stretch;
  justify-content: center;
  min-height: 54px;
}

.cat-link {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 1.1rem 1.4rem;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cat-link:hover,
.cat-link.active {
  color: var(--berry);
  border-bottom-color: var(--berry);
}

/* =========================================================
   SECTION PRIMITIVES
   ========================================================= */

.section {
  padding: 8rem 3vw;
  position: relative;
}

.section:nth-of-type(even) {
  background: var(--paper);
}

.section:nth-of-type(odd) {
  background: var(--paper-dark);
}

.section-header {
  max-width: 1200px;
  margin: 0 auto 5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--rule);
  text-align: left;
}

.section-icon {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--berry);
  margin-bottom: 1.2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: none;
  width: auto;
  height: auto;
  font-weight: 500;
}

.section-icon::before {
  content: '';
  width: 2rem;
  height: 1px;
  background: var(--berry);
}

.section-header h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  font-weight: 400;
  margin-bottom: 0.8rem;
  color: var(--ink);
}

.section-header h2 span,
.section-header h2 em {
  font-style: italic;
  color: var(--berry);
}

.section-header p {
  font-family: var(--sans);
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.55;
  max-width: 700px;
}

/* Subsection headers (Transferências & Bancos, Cripto & P2P, etc.) */

.subsection-wrap {
  max-width: 1200px;
  margin: 0 auto 2rem;
  background: transparent;
  border: none;
  padding: 0;
  border-radius: 0;
}

.subsection-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
}

.subsection-header h3 {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.subsection-header .subsection-hint {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =========================================================
   SERVICES GRID (Wise, T-Bank, Bybit, OKX, etc.)
   ========================================================= */

.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: 2rem 1.8rem;
  position: relative;
  transition: all 0.3s cubic-bezier(.5,0,.2,1);
  display: flex;
  flex-direction: column;
  border-radius: 0;
  box-shadow: none;
}

.section:nth-of-type(odd) .service-card {
  background: var(--paper);
}

.service-card:hover {
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.service-icon {
  width: 140px;
  height: 56px;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: none;
  border-radius: 0;
  filter: none;
}

.service-icon img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  object-position: left center;
  filter: none;
}

.service-logo {
  width: 140px;
  height: 56px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.service-logo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  object-position: left center;
}

.scope-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--paper-dark);
  border: 1px solid var(--rule);
  padding: 0.3rem 0.55rem;
  border-radius: 100px;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--ink);
  line-height: 1;
}

.recommended-badge,
.product-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  background: var(--berry);
  color: var(--paper);
  border: none;
  border-radius: 0;
  z-index: 2;
}

.recommended-badge {
  background: var(--ochre);
  color: var(--ink);
}

.service-name {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  margin-bottom: 0.8rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.service-desc {
  font-family: var(--sans);
  color: var(--ink-soft);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
}

.service-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.feature-check {
  color: var(--berry);
  font-weight: 700;
  flex-shrink: 0;
  font-family: var(--serif);
  font-size: 0.95rem;
  line-height: 1;
  margin-top: 0.15rem;
}

.service-btn {
  background: var(--ink);
  color: var(--paper);
  padding: 0.85rem 1.3rem;
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.25s;
  border-radius: 0;
  border: none;
  margin-top: auto;
}

.service-btn:hover {
  background: var(--berry);
  color: var(--paper);
}

/* Opinion card (testimonial style) */

.service-card.opinion-card,
.service-card[style*="dashed"] {
  background: var(--ink) !important;
  border: 1px solid var(--ink) !important;
  color: var(--paper) !important;
}

.service-card.opinion-card::before,
.service-card[style*="dashed"]::before {
  content: none;
}

.opinion-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.opinion-label::before {
  content: '★';
  color: var(--ochre);
}

.service-card.opinion-card,
.service-card[style*="dashed"] {
  justify-content: flex-start;
}

.service-card.opinion-card .service-icon,
.service-card[style*="dashed"] .service-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  background: transparent !important;
  border: none !important;
}

.service-card.opinion-card .service-name,
.service-card[style*="dashed"] .service-name {
  color: var(--paper) !important;
  font-style: italic;
  font-weight: 400;
}

.service-card.opinion-card .service-desc,
.service-card[style*="dashed"] .service-desc {
  color: rgba(246, 242, 235, 0.8) !important;
  font-style: italic;
  font-size: 0.93rem;
  line-height: 1.65;
  border-left: 2px solid var(--ochre);
  padding-left: 1rem;
}

.service-card.opinion-card::after,
.service-card[style*="dashed"]::after {
  content: none;
}

/* =========================================================
   GLOBAL PERSONAL TESTIMONIAL BOX
   (used at top of finance section and similar)
   ========================================================= */

.personal-testimonial {
  max-width: 1200px;
  margin: 0 auto 3rem;
  background: var(--ink);
  border-left: 4px solid var(--berry);
  padding: 1.8rem 2rem;
  position: relative;
}

.personal-testimonial-label {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ochre);
  margin-bottom: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.personal-testimonial-label::before {
  content: '★';
  color: var(--ochre);
}

.personal-testimonial-text {
  color: rgba(246, 242, 235, 0.92);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.55;
  margin: 0;
  font-weight: 400;
}

.personal-testimonial::after {
  content: none;
}

/* Inline version for the existing markup where user has:
   <div style="background:#1a1a2e;border-left:4px solid #C0392B;...">
   We override those inline styles via attribute selector */
div[style*="#1a1a2e"][style*="border-left"] {
  background: var(--ink) !important;
  border-left: 4px solid var(--berry) !important;
  border-radius: 0 !important;
  max-width: 1200px !important;
  margin: 0 auto 3rem !important;
  padding: 1.8rem 2rem !important;
}

div[style*="#1a1a2e"][style*="border-left"] > div[style*="#C0392B"] {
  font-family: var(--mono) !important;
  color: var(--ochre) !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.2em !important;
  font-weight: 500 !important;
  margin-bottom: 0.9rem !important;
}

div[style*="#1a1a2e"][style*="border-left"] p {
  color: rgba(246, 242, 235, 0.92) !important;
  font-family: var(--serif) !important;
  font-style: italic !important;
  font-size: 1.1rem !important;
  line-height: 1.55 !important;
}

/* Overrides for inline-styled subsection wrappers */
div[style*="background:#f8f9fa"][style*="border-radius:20px"] {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin: 0 auto 2rem !important;
}

div[style*="background:#f8f9fa"][style*="border-radius:20px"] > div[style*="border-bottom"] {
  margin-bottom: 2rem !important;
  padding-bottom: 1rem !important;
  border-bottom: 1px solid var(--rule) !important;
}

div[style*="background:#f8f9fa"][style*="border-radius:20px"] h3 {
  font-family: var(--serif) !important;
  font-style: italic !important;
  font-size: 1.4rem !important;
  font-weight: 400 !important;
  color: var(--ink) !important;
}

div[style*="background:#f8f9fa"][style*="border-radius:20px"] h3 span {
  font-family: var(--mono) !important;
  font-size: 0.72rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--muted) !important;
  font-style: normal !important;
}

.equip-callout {
  max-width: 780px;
  margin: -0.5rem auto 2.5rem;
  padding: 0 1.5rem;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--berry);
}

/* =========================================================
   PRODUCTS GRID (Equipment with photo slideshows)
   ========================================================= */

.products-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: var(--paper);
  border: 1px solid var(--rule);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(.5,0,.2,1);
  position: relative;
  border-radius: 0;
  box-shadow: none;
}

.product-card:hover {
  border-color: var(--ink);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.product-slideshow {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--paper-dark);
  overflow: hidden;
}

.product-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.product-slide.active {
  opacity: 1;
}

.product-badge {
  top: 1rem;
  left: 1rem;
  background: var(--ochre);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  z-index: 3;
}

.product-badge.top {
  background: var(--berry);
  color: var(--paper);
}

.product-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
}

.product-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.7rem;
  color: var(--ink);
  line-height: 1.2;
  letter-spacing: -0.01em;
  padding-right: 2.5rem;
}

.product-content .scope-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
}

.product-desc {
  font-family: var(--sans);
  color: var(--ink-soft);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}

.product-review {
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink);
  background: var(--paper-dark);
  padding: 1rem 1.1rem;
  border-left: 3px solid var(--berry);
  margin-bottom: 1.3rem;
  font-size: 0.92rem;
  line-height: 1.55;
  position: relative;
}

.product-review::before {
  content: '“';
  font-family: var(--serif);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--berry);
  position: absolute;
  top: -0.3rem;
  left: 0.5rem;
  opacity: 0.3;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  margin-bottom: 1rem;
}

.product-price {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--berry);
  line-height: 1;
  font-feature-settings: 'lnum';
}

.product-rating {
  font-size: 0.9rem;
  color: var(--ochre);
  letter-spacing: 0.1em;
}

.product-btn {
  background: var(--ink);
  color: var(--paper);
  padding: 0.85rem 1.3rem;
  text-decoration: none;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.25s;
  border-radius: 0;
  border: none;
  margin-top: auto;
}

.product-btn:hover {
  background: var(--berry);
}

.product-btn-icon {
  font-size: 0.95rem;
}

/* =========================================================
   DISCLAIMER FOOTER
   ========================================================= */

.disclaimer {
  background: var(--ink);
  color: var(--paper);
  padding: 3rem 3vw;
  text-align: center;
}

.disclaimer p {
  max-width: 800px;
  margin: 0 auto;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: rgba(246, 242, 235, 0.7);
  line-height: 1.6;
}

.disclaimer a {
  color: var(--ochre);
  text-decoration: underline;
}

/* =========================================================
   FOOTER (if present)
   ========================================================= */

footer {
  background: var(--paper);
  padding: 5rem 3vw 2rem;
  color: var(--ink);
  border-top: 1px solid var(--rule);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto 4rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 4rem;
}

.footer-brand { max-width: 400px; }

.footer-logo-img { height: 40px; width: auto; margin-bottom: 1.2rem; }

.footer-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.5rem;
}

.footer-social a {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule);
  color: var(--ink);
  text-decoration: none;
  transition: all 0.25s;
}

.footer-social a:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.footer-column h4 {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-column ul a {
  font-family: var(--sans);
  font-size: 0.88rem;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-column ul a:hover { color: var(--berry); }

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 1.8rem;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

/* =========================================================
   BADGE — push logo down when badge is present
   ========================================================= */

.service-card:has(.recommended-badge) .service-icon,
.service-card:has(.recommended-badge) .service-logo {
  margin-top: 2.2rem;
}

/* =========================================================
   VPN SECTION — 2-card layout centered
   ========================================================= */

#vpn .services-grid,
#esim .services-grid,
#seguros .services-grid {
  grid-template-columns: repeat(2, 1fr);
  max-width: 820px;
  align-items: start;
}

#alojamento .services-grid {
  align-items: start;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1024px) {
  .services-grid,
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 700px) {
  .hero { padding: 7rem 5vw 3rem; }
  .section { padding: 5rem 5vw; }
  .navbar { padding: 1rem 5vw; }

  .nav-links { display: none; }

  .cat-nav { top: 64px; }

  .services-grid,
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}
