/*
 * PROJECT: pathensley
 * DOMAIN: pathensley.com
 * GAME: Tennis Dash
 *
 * DESIGN:
 * - CSS: BEM
 * - Palette: Французская элегантность (Cream #fdf6ec, Bordeaux #722f37, accents)
 * - Effect: Gradient Mesh
 * - Fonts: Libre Baskerville (heading) + Raleway (body)
 * - Buttons: Gradient
 *
 * Created: 2025
 */

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

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

html, body {
  overflow-x: hidden !important;
}

:root {
  --cream: #fdf6ec;
  --cream-dark: #f5e9d6;
  --bordeaux: #722f37;
  --bordeaux-light: #9b4452;
  --bordeaux-dark: #4e1e24;
  --gold: #c8a45a;
  --gold-light: #e2c47e;
  --court-green: #4a7c59;
  --white: #ffffff;
  --text-dark: #2c1a1d;
  --text-mid: #5a3a3f;
  --text-light: #8a6a6f;
  --border: #e0ccb0;

  --font-heading: 'Libre Baskerville', Georgia, serif;
  --font-body: 'Raleway', sans-serif;

  --shadow-sm: 0 2px 8px rgba(114, 47, 55, 0.08);
  --shadow-md: 0 6px 24px rgba(114, 47, 55, 0.14);
  --shadow-lg: 0 12px 40px rgba(114, 47, 55, 0.18);
  --radius: 8px;
  --radius-lg: 16px;

  --header-height: 70px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background-color: var(--cream);
}

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

a {
  color: var(--bordeaux);
  text-decoration: none;
  transition: color 0.25s ease;
}

a:hover {
  color: var(--bordeaux-light);
}

ul {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-dark);
}

p {
  margin-bottom: 1rem;
}

/* ===================== MANDATORY ===================== */
.article-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.article-card,
.offer-card,
.card {
  position: relative;
}

.stars {
  color: #ffc107;
}

/* ===================== LAYOUT ===================== */
.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section--alt {
  background-color: var(--cream-dark);
}

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

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: 1180px;
  margin: 0 auto;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--bordeaux);
  letter-spacing: -0.5px;
  text-decoration: none;
  transition: color 0.25s;
}

.logo:hover {
  color: var(--bordeaux-dark);
}

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

/* Nav */
.site-nav__list {
  display: flex;
  gap: 32px;
  align-items: center;
}

.site-nav__link {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-mid);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.25s;
  text-decoration: none;
}

.site-nav__link:hover,
.site-nav__link--active {
  color: var(--bordeaux);
}

.site-nav__cta {
  background: linear-gradient(135deg, var(--bordeaux), var(--bordeaux-light));
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: box-shadow 0.25s, transform 0.2s !important;
}

.site-nav__cta:hover {
  box-shadow: 0 4px 16px rgba(114, 47, 55, 0.35);
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.hamburger__line {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--bordeaux);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger--open .hamburger__line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger--open .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger--open .hamburger__line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===================== HERO ===================== */
.hero {
  background:
    radial-gradient(ellipse at 70% 30%, rgba(200, 164, 90, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(114, 47, 55, 0.12) 0%, transparent 55%),
    var(--cream);
  padding: 100px 0 80px;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero__badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--bordeaux-dark);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.hero__title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--bordeaux-dark);
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero__title span {
  color: var(--bordeaux);
  font-style: italic;
}

.hero__desc {
  font-size: 1.1rem;
  color: var(--text-mid);
  margin-bottom: 36px;
  font-weight: 400;
  line-height: 1.8;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.hero__meta {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero__meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--text-light);
  font-weight: 500;
}

.hero__meta-item svg {
  color: var(--gold);
  flex-shrink: 0;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__game-preview {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  max-width: 380px;
  width: 100%;
  text-align: center;
}

.hero__game-icon {
  width: 100%;
  max-width: 320px;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--bordeaux-dark), var(--court-green));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
}

.hero__game-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.hero__game-cat {
  font-size: 0.82rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* ===================== BUTTONS ===================== */
.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--bordeaux), var(--bordeaux-light));
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: box-shadow 0.25s, transform 0.2s;
  text-decoration: none;
}

.btn-play:hover {
  box-shadow: 0 6px 24px rgba(114, 47, 55, 0.4);
  transform: translateY(-2px);
  color: var(--white);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--bordeaux);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 28px;
  border-radius: var(--radius);
  border: 2px solid var(--bordeaux);
  cursor: pointer;
  transition: background 0.25s, color 0.25s, transform 0.2s;
  text-decoration: none;
}

.btn-secondary:hover {
  background: var(--bordeaux);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--bordeaux-dark);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: box-shadow 0.25s, transform 0.2s;
  text-decoration: none;
}

.btn-gold:hover {
  box-shadow: 0 6px 24px rgba(200, 164, 90, 0.45);
  transform: translateY(-2px);
  color: var(--bordeaux-dark);
}

/* ===================== FEATURES ===================== */
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: box-shadow 0.25s, transform 0.25s;
}

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

.feature-card__icon {
  font-size: 2.4rem;
  margin-bottom: 18px;
  display: block;
}

.feature-card__title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--bordeaux);
  margin-bottom: 12px;
}

.feature-card__desc {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0;
}

/* ===================== SECTION HEADING ===================== */
.section__heading {
  text-align: center;
  margin-bottom: 56px;
}

.section__heading h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--bordeaux-dark);
  margin-bottom: 14px;
}

.section__heading p {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto;
}

.section__divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--bordeaux), var(--gold));
  margin: 18px auto 0;
  border-radius: 2px;
}

/* ===================== HOW TO PLAY (HOMEPAGE) ===================== */
.steps__list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 20px;
  text-align: center;
  border: 1px solid var(--border);
  position: relative;
}

.step-card__number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--bordeaux), var(--bordeaux-light));
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  border-radius: 50%;
  margin: 0 auto 18px;
}

.step-card__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--bordeaux);
  margin-bottom: 10px;
}

.step-card__desc {
  font-size: 0.9rem;
  color: var(--text-mid);
  margin: 0;
}

/* ===================== ARTICLES / BLOG ===================== */
.articles__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.article-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s;
  position: relative;
}

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

.article-card__thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--bordeaux-dark) 0%, var(--court-green) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.article-card__thumb--1 {
  background: linear-gradient(135deg, var(--bordeaux) 0%, var(--gold) 100%);
}

.article-card__thumb--2 {
  background: linear-gradient(135deg, var(--court-green) 0%, var(--bordeaux-dark) 100%);
}

.article-card__thumb--3 {
  background: linear-gradient(135deg, var(--bordeaux-dark) 0%, var(--bordeaux-light) 100%);
}

.article-card__body {
  padding: 24px;
}

.article-card__cat {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 10px;
}

.article-card__title {
  font-family: var(--font-heading);
  font-size: 1.08rem;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.4;
}

.article-card__excerpt {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 16px;
}

.article-card__link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--bordeaux);
  text-decoration: none;
  letter-spacing: 0.3px;
  z-index: 2;
  position: relative;
}

.article-card__link:hover {
  color: var(--bordeaux-light);
}

.article-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* ===================== STATS BANNER ===================== */
.stats-banner {
  background: linear-gradient(135deg, var(--bordeaux-dark) 0%, var(--bordeaux) 60%, var(--bordeaux-light) 100%);
  padding: 60px 0;
}

.stats-banner__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item__number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--gold-light);
  display: block;
  margin-bottom: 6px;
}

.stat-item__label {
  font-size: 0.9rem;
  color: rgba(253, 246, 236, 0.8);
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

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

.faq__item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  background: var(--white);
  overflow: hidden;
}

.faq__question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text-dark);
  text-align: left;
  transition: background 0.2s;
}

.faq__question:hover {
  background: var(--cream);
}

.faq__question--open {
  background: var(--cream);
  color: var(--bordeaux);
}

.faq__icon {
  color: var(--bordeaux);
  font-size: 1.3rem;
  font-weight: 300;
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.3s;
}

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

.faq__answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.faq__answer--open {
  display: block;
}

/* ===================== CTA SECTION ===================== */
.cta-section {
  background:
    radial-gradient(ellipse at 30% 50%, rgba(200, 164, 90, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(114, 47, 55, 0.1) 0%, transparent 50%),
    var(--cream-dark);
  padding: 100px 0;
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--bordeaux-dark);
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 540px;
  margin: 0 auto 36px;
}

/* ===================== FOOTER ===================== */
.site-footer {
  background: var(--bordeaux-dark);
  color: rgba(253, 246, 236, 0.8);
  padding: 64px 0 32px;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand__logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 14px;
  display: block;
  text-decoration: none;
}

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

.footer-brand__desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(253, 246, 236, 0.65);
  margin: 0;
}

.footer-col__title {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-light);
  margin-bottom: 18px;
}

.footer-col__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col__list a {
  font-size: 0.9rem;
  color: rgba(253, 246, 236, 0.65);
  text-decoration: none;
  transition: color 0.2s;
}

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

.site-footer__bottom {
  border-top: 1px solid rgba(253, 246, 236, 0.12);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.site-footer__copy {
  font-size: 0.85rem;
  color: rgba(253, 246, 236, 0.45);
}

.site-footer__legal {
  display: flex;
  gap: 20px;
}

.site-footer__legal a {
  font-size: 0.85rem;
  color: rgba(253, 246, 236, 0.45);
  text-decoration: none;
  transition: color 0.2s;
}

.site-footer__legal a:hover {
  color: var(--gold-light);
}

/* ===================== PAGE HERO ===================== */
.page-hero {
  background:
    radial-gradient(ellipse at 60% 40%, rgba(200, 164, 90, 0.15) 0%, transparent 55%),
    var(--cream-dark);
  padding: 72px 0 60px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.page-hero__badge {
  display: inline-block;
  background: rgba(114, 47, 55, 0.1);
  color: var(--bordeaux);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 18px;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--bordeaux-dark);
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--text-mid);
  max-width: 620px;
  margin: 0 auto;
}

/* ===================== ARTICLE PAGE ===================== */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
  padding: 60px 0;
}

.article-content h2 {
  font-size: 1.6rem;
  color: var(--bordeaux-dark);
  margin: 36px 0 16px;
}

.article-content h3 {
  font-size: 1.2rem;
  color: var(--bordeaux);
  margin: 28px 0 12px;
}

.article-content p {
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1.2rem;
}

.article-content ul, .article-content ol {
  padding-left: 24px;
  margin-bottom: 1.2rem;
}

.article-content ul { list-style: disc; }
.article-content ol { list-style: decimal; }

.article-content li {
  color: var(--text-mid);
  margin-bottom: 8px;
  line-height: 1.7;
}

.article-content blockquote {
  border-left: 4px solid var(--bordeaux);
  padding: 16px 24px;
  background: var(--cream-dark);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 24px 0;
  font-style: italic;
  color: var(--text-mid);
}

.article__meta {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.article__meta-item {
  font-size: 0.85rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 6px;
}

.article__meta-cat {
  background: linear-gradient(135deg, var(--bordeaux), var(--bordeaux-light));
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 12px;
  border-radius: 20px;
}

.article-sidebar__card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
}

.article-sidebar__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--bordeaux-dark);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.sidebar-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-links a {
  font-size: 0.9rem;
  color: var(--text-mid);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.sidebar-links a:hover {
  color: var(--bordeaux);
}

/* ===================== ABOUT PAGE ===================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-visual {
  background: linear-gradient(135deg, var(--bordeaux-dark), var(--court-green));
  border-radius: var(--radius-lg);
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  box-shadow: var(--shadow-md);
}

.about-text h2 {
  font-size: 2rem;
  color: var(--bordeaux-dark);
  margin-bottom: 16px;
}

.about-text p {
  color: var(--text-mid);
  line-height: 1.8;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 22px;
  border: 1px solid var(--border);
  transition: box-shadow 0.25s, transform 0.25s;
}

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

.value-card__icon {
  font-size: 1.6rem;
  margin-bottom: 10px;
  display: block;
}

.value-card__title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--bordeaux);
  margin-bottom: 6px;
}

.value-card__desc {
  font-size: 0.85rem;
  color: var(--text-mid);
  margin: 0;
}

/* ===================== HOW TO PLAY PAGE ===================== */
.how-to-play__content {
  max-width: 820px;
  margin: 0 auto;
}

.htp-section {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  margin-bottom: 28px;
}

.htp-section__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.htp-section__icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--bordeaux), var(--bordeaux-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.htp-section__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--bordeaux-dark);
}

.htp-section p {
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.htp-section p:last-child {
  margin-bottom: 0;
}

.controls-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
}

.controls-table th {
  background: var(--cream-dark);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-mid);
  padding: 12px 16px;
  text-align: left;
  border-bottom: 2px solid var(--border);
}

.controls-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
  color: var(--text-mid);
}

.controls-table tr:last-child td {
  border-bottom: none;
}

.controls-table tr:hover td {
  background: var(--cream);
}

.tips-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 4px;
}

.tip-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.tip-item__num {
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--bordeaux-dark);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tip-item__text {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ===================== CONTACT PAGE ===================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--cream);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-control:focus {
  border-color: var(--bordeaux);
  box-shadow: 0 0 0 3px rgba(114, 47, 55, 0.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 140px;
}

.contact-info {
  padding-top: 8px;
}

.contact-info h3 {
  font-size: 1.5rem;
  color: var(--bordeaux-dark);
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--text-mid);
  line-height: 1.8;
}

.contact-info-items {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-info-item__icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--bordeaux), var(--bordeaux-light));
  color: var(--white);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-item__label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 3px;
}

.contact-info-item__value {
  font-size: 0.95rem;
  color: var(--text-dark);
}

/* ===================== BLOG PAGE ===================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ===================== PRIVACY / TERMS ===================== */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 60px 0 80px;
}

.legal-content h2 {
  font-size: 1.5rem;
  color: var(--bordeaux-dark);
  margin: 36px 0 14px;
}

.legal-content h3 {
  font-size: 1.1rem;
  color: var(--bordeaux);
  margin: 24px 0 10px;
}

.legal-content p, .legal-content li {
  color: var(--text-mid);
  font-size: 0.97rem;
  line-height: 1.8;
}

.legal-content ul, .legal-content ol {
  padding-left: 22px;
  margin-bottom: 1rem;
}

.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }

.legal-content li {
  margin-bottom: 6px;
}

.legal-updated {
  background: var(--cream-dark);
  border-left: 4px solid var(--bordeaux);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 24px;
  margin-bottom: 36px;
  font-size: 0.9rem;
  color: var(--text-mid);
}

/* ===================== BREADCRUMB ===================== */
.breadcrumb {
  padding: 16px 0;
  font-size: 0.85rem;
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--bordeaux);
}

.breadcrumb span {
  color: var(--bordeaux);
  font-weight: 600;
}

/* ===================== COOKIE CONSENT ===================== */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bordeaux-dark);
  color: var(--cream);
  padding: 18px 24px;
  z-index: 1000;
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.25);
}

.cookie-consent__inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-consent__text {
  font-size: 0.9rem;
  color: rgba(253, 246, 236, 0.85);
  margin: 0;
  flex: 1;
  min-width: 240px;
}

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

.cookie-consent__btn {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--bordeaux-dark);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 28px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: box-shadow 0.25s, transform 0.2s;
  white-space: nowrap;
}

.cookie-consent__btn:hover {
  box-shadow: 0 4px 16px rgba(200, 164, 90, 0.4);
  transform: translateY(-1px);
}

.cookie-consent--hidden {
  display: none;
}

/* ===================== MOBILE NAV ===================== */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--border);
    border-bottom: 2px solid var(--bordeaux);
    box-shadow: var(--shadow-md);
    z-index: 99;
  }

  .site-nav--open {
    display: block;
  }

  .site-nav__list {
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
  }

  .site-nav__link {
    display: block;
    padding: 14px 24px;
    border-bottom: 1px solid var(--border);
  }

  .site-nav__link:last-child {
    border-bottom: none;
  }

  .site-nav__cta {
    margin: 8px 24px;
    text-align: center;
    border-radius: var(--radius);
  }

  /* Layout */
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__meta {
    justify-content: center;
  }

  .hero__visual {
    order: -1;
  }

  .features__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

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

  .site-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .article-layout {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .htp-section {
    padding: 28px 20px;
  }
}

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

  .stats-banner__grid {
    grid-template-columns: 1fr 1fr;
  }

  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 60px 0 50px;
  }

  .section {
    padding: 56px 0;
  }

  .cookie-consent__inner {
    flex-direction: column;
    text-align: center;
  }
}