/* ================================================================
   RentaCalma — Corporate Website
   Premium trust-conveying design with visual personality
   Palette: Navy + Gold + Warm neutrals
   Fonts: Playfair Display (headings) + Inter (body)
   ================================================================ */

/* ===== RESET & VARIABLES ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy-900: #0a1628;
  --navy-800: #0f2341;
  --navy-700: #162d50;
  --navy-600: #1a365d;
  --navy-500: #234e82;
  --navy-100: #dce4f0;
  --navy-50: #eef2f7;

  --gold: #b8952e;
  --gold-dark: #96790f;
  --gold-light: #d4b45c;
  --gold-100: #f0e4c4;
  --gold-50: #faf5e8;

  --gray-900: #1a1a2e;
  --gray-700: #374151;
  --gray-600: #4b5563;
  --gray-500: #6b7280;
  --gray-400: #9ca3af;
  --gray-300: #d1d5db;
  --gray-200: #e5e7eb;
  --gray-100: #f3f4f6;
  --gray-50: #fafafa;

  --white: #ffffff;
  --bg-warm: #f9f8f5;

  --color-text: var(--gray-900);
  --color-border: #e0ddd7;

  --font-heading: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;

  --shadow-xs: 0 1px 2px rgba(10, 22, 40, 0.04);
  --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.06);
  --shadow-md: 0 4px 20px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 8px 40px rgba(10, 22, 40, 0.12);

  --section-py: 5.5rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
}

/* ===== BASE ===== */
body {
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--bg-warm);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--gray-900);
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-xs);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo__icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--navy-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  font-family: var(--font-heading);
}

.logo__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo__title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy-800);
}

.logo__subtitle {
  font-size: 0.72rem;
  color: var(--gray-500);
  letter-spacing: 0.02em;
}

.nav {
  display: flex;
  align-items: center;
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
  font-size: 0.88rem;
}

.nav__link {
  color: var(--gray-700);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  font-weight: 450;
}

.nav__link:hover {
  color: var(--navy-800);
  background: var(--navy-50);
}

.nav__link--btn {
  background: var(--navy-800);
  color: var(--white) !important;
  padding: 0.5rem 1.2rem;
  border-radius: var(--radius-md);
  margin-left: 0.5rem;
  font-weight: 500;
  transition: background 0.2s, transform 0.15s;
}

.nav__link--btn:hover {
  background: var(--navy-700);
  transform: translateY(-1px);
}

.nav__toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--navy-800);
}

.nav__toggle svg {
  display: block;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(
    155deg,
    var(--navy-900) 0%,
    var(--navy-800) 40%,
    var(--navy-700) 100%
  );
  color: var(--white);
  padding: 5.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}

/* Subtle radial glow */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 75% 30%, rgba(184, 149, 46, 0.1) 0%, transparent 70%),
    radial-gradient(ellipse 400px 300px at 15% 70%, rgba(184, 149, 46, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

/* Decorative dot pattern */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content h1 {
  font-size: 2.8rem;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: 1.05rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  max-width: 34rem;
}

.hero__subtitle strong {
  color: var(--white);
  font-weight: 600;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2.2rem 0 1.8rem;
}

.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.hero__pill {
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hero — page header (inner pages) */
.hero--page {
  padding: 3.5rem 0 3rem;
  text-align: center;
}

.hero--page .hero__content {
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero--page .hero__subtitle {
  max-width: none;
  margin: 0 auto;
}

/* Hero form card */
.hero__card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

/* Gold top accent bar on form card */
.hero__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
}

.hero__card h2 {
  color: var(--gray-900);
  margin: 0.25rem 0 0.5rem;
  font-size: 1.2rem;
}

.hero__card-text {
  margin: 0 0 1.5rem;
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* ===== GUARANTEE STRIP ===== */
.guarantee-strip {
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
  padding: 1.25rem 0;
  position: relative;
  overflow: hidden;
}

.guarantee-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
  pointer-events: none;
}

.guarantee-strip__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  position: relative;
  z-index: 1;
}

.guarantee-strip__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.guarantee-strip__icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guarantee-strip__divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.35);
}

/* ===== STATS BAND ===== */
.stats {
  background: var(--navy-900);
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 500px 300px at 20% 50%, rgba(184, 149, 46, 0.06), transparent),
    radial-gradient(ellipse 500px 300px at 80% 50%, rgba(184, 149, 46, 0.04), transparent);
  pointer-events: none;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat {
  padding: 1rem;
}

.stat__number {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 0.5rem;
}

.stat__label {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 400;
  display: block;
}

/* Vertical dividers between stats */
.stat + .stat {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1.7rem;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: var(--font-body);
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  line-height: 1.4;
}

.btn--primary {
  background: var(--gold);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(184, 149, 46, 0.3);
}

.btn--primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(184, 149, 46, 0.4);
}

.btn--secondary {
  background: var(--navy-800);
  color: var(--white);
}

.btn--secondary:hover {
  background: var(--navy-700);
  transform: translateY(-1px);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline {
  background: transparent;
  color: var(--navy-800);
  border: 1.5px solid var(--color-border);
}

.btn--outline:hover {
  border-color: var(--navy-800);
  background: var(--navy-50);
}

.btn--full {
  width: 100%;
}

/* ===== SECTIONS ===== */
.section {
  padding: var(--section-py) 0;
  position: relative;
}

.section--light {
  background: var(--white);
}

.section--warm {
  background: var(--bg-warm);
}

/* Dotted texture background */
.section--textured {
  background-color: var(--white);
  background-image: radial-gradient(circle, rgba(10, 22, 40, 0.03) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Diagonal line texture */
.section--lined {
  background-color: var(--bg-warm);
  background-image: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 28px,
    rgba(10, 22, 40, 0.015) 28px,
    rgba(10, 22, 40, 0.015) 29px
  );
}

.section--accent {
  background: var(--navy-50);
  border-top: 1px solid var(--navy-100);
  border-bottom: 1px solid var(--navy-100);
}

.section__header {
  text-align: center;
  margin-bottom: 3.5rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.section__header h2 {
  font-size: 2.1rem;
  margin-bottom: 0.6rem;
  letter-spacing: -0.01em;
}

/* Gold accent line under section headers */
.section__header h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  margin: 0.8rem auto 0;
  border-radius: 2px;
}

.section__header p {
  color: var(--gray-500);
  font-size: 1rem;
  line-height: 1.6;
}

/* Section with left-aligned header */
.section__header--left {
  text-align: left;
  margin-left: 0;
}

.section__header--left h2::after {
  margin-left: 0;
}

/* ===== STEPS — connected with line ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

/* Connecting line behind step numbers */
.steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: calc(12.5% + 16px);
  right: calc(12.5% + 16px);
  height: 2px;
  background: linear-gradient(90deg, var(--gold-100), var(--gold), var(--gold-100));
  z-index: 0;
}

.step {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  text-align: center;
  margin: 0 0.75rem;
  position: relative;
  z-index: 1;
  transition: transform 0.25s, box-shadow 0.25s;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy-800);
  color: var(--gold-light);
  font-size: 0.9rem;
  font-weight: 700;
  font-family: var(--font-heading);
  margin-bottom: 1rem;
  box-shadow: 0 0 0 4px var(--white), 0 0 0 6px var(--gold-100);
}

.step h3 {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.step p {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.55;
}

/* ===== CARDS ===== */
.grid {
  display: grid;
  gap: 1.5rem;
}

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

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--gold);
  transition: transform 0.25s, box-shadow 0.25s;
  position: relative;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.card p {
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.card p + p {
  margin-top: 0.4rem;
}

/* Highlighted card — gold tinted background */
.card--highlight {
  background: linear-gradient(145deg, var(--gold-50), var(--white));
  border-color: var(--gold-100);
  border-left-color: var(--gold);
  border-left-width: 4px;
}

.card--highlight h3 {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  color: var(--navy-800);
}

/* Quote card — for testimonials */
.card--quote {
  border-left: none;
  text-align: center;
  padding: 2.25rem 1.75rem;
  border-top: 3px solid var(--gold);
}

.card--quote::before {
  content: "\201C";
  font-family: var(--font-heading);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--gold-100);
  display: block;
  margin-bottom: -0.25rem;
}

.card--quote h3 {
  font-family: var(--font-heading);
  font-style: italic;
  color: var(--navy-800);
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

/* Case study card */
.card--case {
  border-left: none;
  border-top: 4px solid var(--navy-800);
  padding: 2rem 1.75rem;
}

.card--case h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--navy-800);
  margin-bottom: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

/* ===== GUARANTEE SEAL ===== */
.seal {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 2.5px solid var(--gold);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  flex-shrink: 0;
}

/* Inner dashed circle */
.seal::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1.5px dashed var(--gold-100);
}

.seal__label {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-dark);
  position: relative;
  z-index: 1;
}

.seal__value {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--navy-800);
  line-height: 1.1;
  position: relative;
  z-index: 1;
}

.seal__sub {
  font-size: 0.62rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  position: relative;
  z-index: 1;
  margin-top: 0.15rem;
}

/* ===== OWNERS ===== */
.owners {
  display: grid;
  grid-template-columns: 1.1fr auto;
  gap: 3rem;
  align-items: center;
}

.owners__content h2 {
  font-size: 1.85rem;
  margin-bottom: 0.75rem;
}

.owners__content > p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.list {
  padding-left: 0;
  list-style: none;
  color: var(--gray-700);
  font-size: 0.9rem;
}

.list li {
  position: relative;
  padding-left: 1.75rem;
  line-height: 1.55;
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--gold);
  transform: rotate(45deg);
}

.list li + li {
  margin-top: 0.7rem;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  background: linear-gradient(145deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 50% 50%, rgba(184, 149, 46, 0.08), transparent),
    radial-gradient(circle, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 100% 100%, 24px 24px;
  pointer-events: none;
}

/* Top gold accent line */
.cta-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 10%, var(--gold) 50%, transparent 90%);
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: var(--white);
  font-size: 2.1rem;
  margin-bottom: 0.75rem;
}

.cta-banner h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin: 0.8rem auto 0;
  border-radius: 2px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}

/* ===== CONTACT ===== */
.contact {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: flex-start;
}

.contact__info h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.contact__info > p {
  color: var(--gray-600);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  line-height: 1.55;
}

.contact__details {
  list-style: none;
  font-size: 0.9rem;
  color: var(--gray-700);
}

.contact__details li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--color-border);
}

.contact__details li:last-child {
  border-bottom: none;
}

.contact__details strong {
  color: var(--gray-900);
  font-weight: 600;
  min-width: 70px;
  display: inline-block;
}

.contact__form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.contact__form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
}

/* ===== FORMS ===== */
.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form--compact {
  gap: 0.85rem;
}

.form__row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.85rem;
}

.form__field span {
  font-weight: 500;
  color: var(--gray-700);
}

.form__field input,
.form__field select,
.form__field textarea {
  border-radius: var(--radius-md);
  border: 1.5px solid var(--gray-300);
  padding: 0.6rem 0.85rem;
  font-size: 0.88rem;
  font-family: var(--font-body);
  outline: none;
  background: var(--gray-50);
  color: var(--gray-900);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.form__field textarea {
  border-radius: var(--radius-lg);
  resize: vertical;
  min-height: 100px;
}

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  border-color: var(--navy-600);
  box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
  background: var(--white);
}

.form__field input::placeholder,
.form__field textarea::placeholder {
  color: var(--gray-400);
}

.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--gray-500);
}

.form__hint {
  margin: 0.25rem 0 0;
  font-size: 0.78rem;
  color: var(--gray-400);
}

.form__hint a {
  color: var(--navy-600);
  text-decoration: underline;
}

/* ===== FEATURES SPLIT (alternating left/right) ===== */
.feature-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.feature-split--reverse {
  direction: rtl;
}

.feature-split--reverse > * {
  direction: ltr;
}

.feature-split__visual {
  background: linear-gradient(145deg, var(--navy-50), var(--white));
  border-radius: var(--radius-xl);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--navy-100);
  min-height: 280px;
}

.feature-split__content h2 {
  font-size: 1.85rem;
  margin-bottom: 0.75rem;
}

.feature-split__content p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 0;
  position: relative;
}

/* Top gold accent */
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 15%, var(--gold) 50%, transparent 85%);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  padding: 3.5rem 0 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__brand .logo__icon {
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold-light);
}

.footer__brand .logo__title {
  color: var(--white);
}

.footer__brand .logo__subtitle {
  color: rgba(255, 255, 255, 0.5);
}

.footer__desc {
  margin-top: 1rem;
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  max-width: 300px;
}

.footer__col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 1.15rem;
}

.footer__links-list {
  list-style: none;
  font-size: 0.88rem;
}

.footer__links-list li + li {
  margin-top: 0.55rem;
}

.footer__links-list a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s, padding-left 0.2s;
}

.footer__links-list a:hover {
  color: var(--gold-light);
  padding-left: 4px;
}

.footer__bottom {
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer__legal {
  display: flex;
  gap: 1.25rem;
}

.footer__legal a {
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s;
}

.footer__legal a:hover {
  color: rgba(255, 255, 255, 0.7);
}

/* ===== SKIP NAVIGATION ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--navy-800);
  color: var(--white);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  z-index: 200;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0.5rem;
}

/* ===== FOCUS STATES ===== */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.85);
  padding: 1.25rem 0;
  z-index: 150;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
  border-top: 2px solid var(--gold);
}

.cookie-banner__content {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cookie-banner__content p {
  font-size: 0.82rem;
  line-height: 1.5;
  margin: 0;
}

.cookie-banner__content a {
  color: var(--gold-light);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-banner__actions .btn {
  padding: 0.45rem 1rem;
  font-size: 0.8rem;
}

/* ===== FORM SUCCESS MESSAGE ===== */
.form__success {
  text-align: center;
  padding: 2.5rem 1.5rem;
  color: var(--gray-700);
}

.form__success svg {
  color: #2d6a4f;
  margin: 0 auto 1rem;
  display: block;
}

.form__success p {
  margin: 0.3rem 0;
  font-size: 0.92rem;
  line-height: 1.5;
}

.form__error {
  color: #b91c1c;
  font-size: 0.85rem;
  margin-top: 0.5rem;
  text-align: center;
}

/* ===== DASHBOARD TABS ===== */
.dash-tabs {
  display: flex;
  gap: 0.25rem;
  border-bottom: 2px solid var(--color-border);
  margin-bottom: 2rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.dash-tab {
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  font-family: var(--font-body);
  color: var(--gray-500);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s;
}

.dash-tab:hover {
  color: var(--navy-800);
}

.dash-tab.is-active {
  color: var(--navy-800);
  border-bottom-color: var(--gold);
  font-weight: 600;
}

/* ===== WHATSAPP BUTTON ===== */
.whatsapp-btn {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  z-index: 90;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.whatsapp-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.45);
}

/* ===== FAQ ===== */
.faq__list {
  max-width: 780px;
  margin: 0 auto;
}

.faq__item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--white);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.faq__item:hover {
  box-shadow: var(--shadow-sm);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 1.5rem;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-900);
  cursor: pointer;
  text-align: left;
  gap: 1rem;
}

.faq__icon {
  width: 20px;
  height: 20px;
  min-width: 20px;
  transition: transform 0.25s;
  color: var(--gold);
}

.faq__item.is-open .faq__icon {
  transform: rotate(45deg);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq__item.is-open .faq__answer {
  max-height: 300px;
}

.faq__answer p {
  padding: 0 1.5rem 1.25rem;
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.65;
  margin: 0;
}

/* ===== TEAM SECTION ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.team-member {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.team-member__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--navy-50);
  border: 2px solid var(--gold-100);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy-800);
}

.team-member h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.team-member__role {
  font-size: 0.8rem;
  color: var(--gold-dark);
  font-weight: 500;
  display: block;
  margin-bottom: 0.6rem;
}

.team-member p {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* ===== FOOTER SOCIAL ===== */
.footer__social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: background 0.2s, color 0.2s;
}

.footer__social a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--gold-light);
}

/* ===== FOOTER COMPANY DATA ===== */
.footer__company {
  padding: 0.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.25);
  text-align: center;
}

/* ===== LEGAL PAGES ===== */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
}

.legal-content h2 {
  font-size: 1.4rem;
  margin: 2.5rem 0 0.75rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
}

.legal-content p {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.legal-content ul {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.legal-content li {
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 0.35rem;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.85rem;
}

.legal-content th,
.legal-content td {
  padding: 0.6rem 0.75rem;
  text-align: left;
  border: 1px solid var(--color-border);
}

.legal-content th {
  background: var(--navy-50);
  font-weight: 600;
  color: var(--gray-900);
}

.legal-content td {
  color: var(--gray-600);
}

.legal-content .placeholder {
  background: var(--gold-50);
  border: 1px dashed var(--gold);
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--gold-dark);
  font-weight: 500;
}

/* ===== 404 PAGE ===== */
.error-page {
  text-align: center;
  padding: 6rem 2rem;
}

.error-page__code {
  font-family: var(--font-heading);
  font-size: 6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.error-page h1 {
  font-size: 1.6rem;
  margin-bottom: 0.75rem;
}

.error-page p {
  color: var(--gray-500);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.error-page__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero__card {
    max-width: 440px;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .steps::before {
    display: none;
  }

  .step {
    margin: 0;
  }

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

  .owners {
    grid-template-columns: 1fr;
  }

  .seal {
    margin: 0 auto;
  }

  .contact {
    grid-template-columns: 1fr;
  }

  .stats__grid {
    gap: 1rem;
  }

  .stat__number {
    font-size: 3rem;
  }

  .guarantee-strip__grid {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem 2rem;
  }

  .guarantee-strip__divider {
    display: none;
  }

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

  .footer__brand {
    grid-column: 1 / -1;
  }

  .feature-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .feature-split--reverse {
    direction: ltr;
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: 3.5rem;
  }

  .nav__list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem 2rem 1.5rem;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    gap: 0;
  }

  .nav__list.is-open {
    display: flex;
  }

  .nav__link {
    padding: 0.65rem 0;
    display: block;
    border-bottom: 1px solid var(--gray-100);
  }

  .nav__link--btn {
    margin: 0.75rem 0 0;
    text-align: center;
    display: block;
    border-bottom: none;
  }

  .nav__toggle {
    display: block;
  }

  .header__inner {
    position: relative;
  }

  .hero {
    padding: 3.5rem 0 3rem;
  }

  .hero__content h1 {
    font-size: 2rem;
  }

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

  .steps {
    grid-template-columns: 1fr;
  }

  .grid--3 {
    grid-template-columns: 1fr;
  }

  .stats {
    padding: 3rem 0;
  }

  .stats__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .stat {
    padding: 1.25rem 1rem;
  }

  .stat + .stat {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
  }

  .stat__number {
    font-size: 3rem;
  }

  .guarantee-strip {
    padding: 1rem 0;
  }

  .guarantee-strip__grid {
    flex-direction: column;
    gap: 0.75rem;
  }

  .guarantee-strip__item {
    font-size: 0.82rem;
  }

  .form__row {
    grid-template-columns: 1fr;
  }

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

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

  .section__header h2 {
    font-size: 1.6rem;
  }

  .cta-banner h2 {
    font-size: 1.6rem;
  }

  .seal {
    width: 120px;
    height: 120px;
  }

  .seal__value {
    font-size: 1.4rem;
  }

  .cookie-banner__content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .team-grid {
    grid-template-columns: 1fr;
  }

  .error-page__code {
    font-size: 4rem;
  }
}
