/*
Theme Name: MobileStore Ireland
Theme URI: https://mobilestore.ie
Author: MobileStore
Author URI: https://mobilestore.ie
Description: A modern mobile phone listing theme for Ireland with GSAP animations, dark mode toggle, and WhatsApp integration.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mobilestore
*/

/* ============================================
   MobileStore Ireland - Colorful Light Theme
   ============================================ */

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

:root {
  /* Light Theme (Default) */
  --bg: #ffffff;
  --bg-soft: #f7f8fc;
  --bg-card: #ffffff;
  --bg-header: rgba(255,255,255,0.85);
  --text-heading: #1a1a2e;
  --text-body: #444;
  --text-muted: #888;
  --border: rgba(0,0,0,0.07);
  --card-shadow: 0 4px 24px rgba(0,0,0,0.06);
  --card-shadow-hover: 0 16px 48px rgba(0,0,0,0.12);
  --overlay-bg: rgba(255,255,255,0.7);

  /* Accent Colors */
  --primary: #6366f1;
  --primary-light: #818cf8;
  --primary-glow: rgba(99,102,241,0.15);
  --secondary: #06b6d4;
  --secondary-light: #22d3ee;
  --accent-pink: #ec4899;
  --accent-orange: #f97316;
  --accent-green: #10b981;
  --gradient-1: linear-gradient(135deg, #6366f1, #06b6d4);
  --gradient-2: linear-gradient(135deg, #ec4899, #f97316);
  --gradient-3: linear-gradient(135deg, #06b6d4, #10b981);
  --whatsapp: #25D366;
  --whatsapp-hover: #1ebe57;
  --google-blue: #4285F4;

  --radius: 16px;
  --radius-lg: 24px;
  --transition: 0.3s ease;
}

/* Dark Mode */
[data-theme="dark"] {
  --bg: #0f1117;
  --bg-soft: #1a1c25;
  --bg-card: #1e2030;
  --bg-header: rgba(15,17,23,0.88);
  --text-heading: #f0f0f5;
  --text-body: #b0b3c0;
  --text-muted: #6b7084;
  --border: rgba(255,255,255,0.06);
  --card-shadow: 0 4px 24px rgba(0,0,0,0.3);
  --card-shadow-hover: 0 16px 48px rgba(0,0,0,0.45);
  --overlay-bg: rgba(15,17,23,0.75);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-body);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.4s, color 0.4s;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* WP Admin Bar offset */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* ========= CUSTOM CURSOR (Desktop) ========= */
.custom-cursor {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 2px solid var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%);
  will-change: transform;
  opacity: 0;
  transition: width 0.3s, height 0.3s, opacity 0.3s, background 0.3s;
}

.custom-cursor.visible { opacity: 1; }

.custom-cursor.hover {
  width: 56px;
  height: 56px;
  background: rgba(99,102,241,0.08);
}

.cursor-dot {
  position: fixed;
  width: 6px;
  height: 6px;
  background: var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  will-change: transform;
  opacity: 0;
  transition: opacity 0.3s;
}

.cursor-dot.visible { opacity: 1; }

@media (max-width: 1024px) {
  .custom-cursor, .cursor-dot { display: none !important; }
}

@media (min-width: 1025px) {
  body { cursor: none; }
  a, button, .phone-card, .category-pill, input, textarea { cursor: none; }
}

/* ========= HEADER ========= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  background: var(--bg-header);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, box-shadow 0.3s, border-color 0.4s;
}

.site-header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.08);
}

[data-theme="dark"] .site-header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
  height: 68px;
}

.site-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.5px;
  transition: color 0.4s;
}

.site-logo span {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-nav ul {
  display: flex;
  gap: 4px;
}

.main-nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 18px;
  border-radius: 50px;
  transition: all var(--transition);
}

.main-nav a:hover {
  color: var(--text-heading);
  background: var(--primary-glow);
}

.main-nav a.active,
.main-nav .current-menu-item a,
.main-nav .current-menu-parent a,
.main-nav .current_page_item a {
  color: #fff;
  background: var(--primary);
}

/* Dark Mode Toggle */
.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.15rem;
  transition: all var(--transition);
  margin-left: 10px;
  color: var(--text-heading);
}

.theme-toggle:hover {
  background: var(--primary-glow);
  border-color: var(--primary);
}

/* Hamburger */
.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 600;
  padding: 9px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text-heading);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.35s ease;
}

.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* Mobile Nav */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--overlay-bg);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 550;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.4s;
}

.mobile-nav-overlay.active { display: flex; opacity: 1; }

.mobile-nav-overlay ul { text-align: center; }
.mobile-nav-overlay li { margin: 12px 0; }

.mobile-nav-overlay a {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-heading);
  padding: 10px 24px;
  display: inline-block;
  border-radius: 16px;
  transition: all 0.3s;
}

.mobile-nav-overlay a:hover,
.mobile-nav-overlay a.active,
.mobile-nav-overlay .current-menu-item a,
.mobile-nav-overlay .current_page_item a {
  background: var(--primary);
  color: #fff;
}

/* ========= HERO ========= */
.hero {
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

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

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.55) 0%,
    rgba(255,255,255,0.80) 50%,
    var(--bg) 100%
  );
  z-index: 1;
}

[data-theme="dark"] .hero-bg-overlay {
  background: linear-gradient(
    180deg,
    rgba(15,17,23,0.55) 0%,
    rgba(15,17,23,0.80) 50%,
    var(--bg) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 20px;
  background: var(--primary-glow);
  border: 1px solid rgba(99,102,241,0.2);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 24px;
  letter-spacing: 0.5px;
}

.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero h1 {
  font-size: 3.8rem;
  font-weight: 800;
  line-height: 1.08;
  margin-bottom: 20px;
  letter-spacing: -2px;
  color: var(--text-heading);
  transition: color 0.4s;
}

.gradient-text {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-2 {
  background: var(--gradient-2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 34px;
  background: var(--gradient-1);
  color: #fff;
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 6px 24px rgba(99,102,241,0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(99,102,241,0.45);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 34px;
  background: var(--bg-card);
  color: var(--text-heading);
  border: 1.5px solid var(--border);
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: var(--card-shadow);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
  box-shadow: var(--card-shadow-hover);
}

/* Stats */
.stats-bar {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin-top: 52px;
  padding-top: 36px;
  border-top: 1px solid var(--border);
}

.stat-item { text-align: center; }

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-heading);
  transition: color 0.4s;
}

.stat-number.colored { color: var(--primary); }

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 500;
}

/* ========= SECTIONS ========= */
.section { padding: 80px 0; position: relative; }

.section-alt { background: var(--bg-soft); transition: background 0.4s; }

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.5px;
  transition: color 0.4s;
}

.section-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.view-all {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 22px;
  border: 1.5px solid var(--primary-glow);
  background: var(--primary-glow);
  border-radius: 50px;
  transition: all var(--transition);
}

.view-all:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99,102,241,0.25);
}

.view-all .arrow {
  transition: transform var(--transition);
}

.view-all:hover .arrow {
  transform: translateX(3px);
}

/* ========= PHONE GRID ========= */
.phone-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.phone-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
}

.phone-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(99,102,241,0.2);
}

.phone-card-img {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 260px;
  overflow: hidden;
  padding: 24px;
}

/* Colorful gradient backgrounds for cards */
.phone-card:nth-child(4n+1) .phone-card-img { background: linear-gradient(135deg, #ede9fe, #e0f2fe); }
.phone-card:nth-child(4n+2) .phone-card-img { background: linear-gradient(135deg, #fce7f3, #fef3c7); }
.phone-card:nth-child(4n+3) .phone-card-img { background: linear-gradient(135deg, #d1fae5, #cffafe); }
.phone-card:nth-child(4n+4) .phone-card-img { background: linear-gradient(135deg, #fef3c7, #fce7f3); }

[data-theme="dark"] .phone-card:nth-child(4n+1) .phone-card-img { background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(6,182,212,0.08)); }
[data-theme="dark"] .phone-card:nth-child(4n+2) .phone-card-img { background: linear-gradient(135deg, rgba(236,72,153,0.1), rgba(249,115,22,0.08)); }
[data-theme="dark"] .phone-card:nth-child(4n+3) .phone-card-img { background: linear-gradient(135deg, rgba(16,185,129,0.1), rgba(6,182,212,0.08)); }
[data-theme="dark"] .phone-card:nth-child(4n+4) .phone-card-img { background: linear-gradient(135deg, rgba(249,115,22,0.08), rgba(236,72,153,0.1)); }

.phone-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 1;
  border-radius: 8px;
}

.phone-card:hover .phone-card-img img {
  transform: scale(1.08) translateY(-6px);
}

.phone-card-body {
  padding: 18px 20px 22px;
}

.phone-card-body h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-heading);
  transition: color 0.4s;
}

.phone-card-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.phone-card-specs span {
  display: inline-block;
  background: var(--bg-soft);
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  border: 1px solid var(--border);
  transition: background 0.4s, border-color 0.4s, color 0.4s;
}

/* ========= CATEGORY PILLS ========= */
.category-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.category-pill {
  padding: 10px 24px;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.category-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-glow);
}

.category-pill.active {
  background: var(--gradient-1);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(99,102,241,0.3);
}

/* ========= LOAD MORE ========= */
.load-more-wrap {
  text-align: center;
  margin-top: 50px;
}

.btn-load-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 42px;
  background: var(--bg-card);
  border: 2px solid var(--primary);
  color: var(--primary);
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-load-more:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(99,102,241,0.3);
}

/* ========= MODAL ========= */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active { display: flex; }

.modal {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 30px 80px rgba(0,0,0,0.2);
  border: 1px solid var(--border);
  position: relative;
  transition: background 0.4s, border-color 0.4s;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  color: var(--text-muted);
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all var(--transition);
}

.modal-close:hover {
  background: #fee2e2;
  color: #ef4444;
  border-color: #fca5a5;
}

[data-theme="dark"] .modal-close:hover {
  background: rgba(239,68,68,0.15);
  color: #f87171;
  border-color: rgba(239,68,68,0.3);
}

.modal-action-bar {
  display: flex;
  gap: 12px;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transition: background 0.4s;
}

.btn-whatsapp,
.btn-gmb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  color: #fff;
}

.btn-whatsapp {
  background: var(--whatsapp);
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}

.btn-whatsapp:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  color: #fff;
}

.btn-gmb {
  background: var(--google-blue);
  box-shadow: 0 4px 16px rgba(66,133,244,0.3);
}

.btn-gmb:hover {
  background: #3367d6;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(66,133,244,0.4);
  color: #fff;
}

.btn-whatsapp svg, .btn-gmb svg { width: 18px; height: 18px; fill: currentColor; }

.modal-body {
  display: flex;
  gap: 30px;
  padding: 30px 28px;
}

.modal-image {
  flex: 0 0 300px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: linear-gradient(135deg, #ede9fe, #e0f2fe);
  transition: background 0.4s;
}

[data-theme="dark"] .modal-image {
  background: linear-gradient(135deg, rgba(99,102,241,0.1), rgba(6,182,212,0.08));
}

.modal-image img { max-height: 340px; width: 100%; object-fit: cover; border-radius: 12px; }

.modal-info { flex: 1; }

.modal-info h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  transition: color 0.4s;
}

.spec-table { width: 100%; border-collapse: collapse; }

.spec-table tr { border-bottom: 1px solid var(--border); transition: border-color 0.4s; }
.spec-table tr:last-child { border-bottom: none; }

.spec-table td { padding: 12px 0; font-size: 0.9rem; }
.spec-table td:first-child { color: var(--text-muted); font-weight: 500; width: 130px; }
.spec-table td:last-child { font-weight: 600; color: var(--text-heading); transition: color 0.4s; }

/* ========= CONTACT ========= */
.contact-section { padding: 60px 0 80px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.contact-form-card,
.contact-info-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid var(--border);
  box-shadow: var(--card-shadow);
  transition: background 0.4s, border-color 0.4s, box-shadow 0.4s;
}

.contact-form-card h2,
.contact-info-card h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-heading);
  transition: color 0.4s;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg-soft);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text-heading);
  outline: none;
  transition: all var(--transition);
}

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

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-glow);
  background: var(--bg-card);
}

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

.btn-submit {
  padding: 14px 36px;
  background: var(--gradient-1);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 6px 20px rgba(99,102,241,0.3);
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(99,102,241,0.4);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-item .icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-item:nth-child(2) .icon { background: linear-gradient(135deg, #ede9fe, #e0f2fe); }
.contact-info-item:nth-child(3) .icon { background: linear-gradient(135deg, #d1fae5, #cffafe); }
.contact-info-item:nth-child(4) .icon { background: linear-gradient(135deg, #fce7f3, #fef3c7); }
.contact-info-item:nth-child(5) .icon { background: linear-gradient(135deg, #fef3c7, #ede9fe); }

[data-theme="dark"] .contact-info-item .icon { background: rgba(99,102,241,0.12) !important; }

.contact-info-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 2px;
  transition: color 0.4s;
}

.contact-info-item p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.5; }

.contact-buttons { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }

/* Form Messages */
.form-message {
  padding: 14px 20px;
  border-radius: 12px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  font-weight: 500;
}

.form-message.success {
  background: rgba(16,185,129,0.1);
  color: #059669;
  border: 1px solid rgba(16,185,129,0.2);
}

.form-message.error {
  background: rgba(239,68,68,0.1);
  color: #dc2626;
  border: 1px solid rgba(239,68,68,0.2);
}

/* Honeypot */
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

/* ========= PAGE HEADER ========= */
.page-header {
  padding: 130px 0 50px;
  position: relative;
  overflow: hidden;
}

.page-header-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-header-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.7), var(--bg));
  z-index: 1;
}

[data-theme="dark"] .page-header-overlay {
  background: linear-gradient(180deg, rgba(15,17,23,0.65), var(--bg));
}

.page-header .container { position: relative; z-index: 2; }

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--text-heading);
  margin-bottom: 8px;
  letter-spacing: -1px;
  transition: color 0.4s;
}

.page-header p { color: var(--text-muted); font-size: 1.05rem; }

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb a { color: var(--primary); font-weight: 500; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { opacity: 0.4; }

/* ========= FOOTER ========= */
.site-footer {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  padding: 60px 0 24px;
  margin-top: 20px;
  transition: background 0.4s, border-color 0.4s;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-heading);
  transition: color 0.4s;
}

.footer-col p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 4px; }

.footer-col a {
  font-size: 0.88rem;
  color: var(--text-muted);
  display: block;
  padding: 4px 0;
  transition: all var(--transition);
}

.footer-col a:hover { color: var(--primary); transform: translateX(4px); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
  transition: border-color 0.4s;
}

/* ========= SCROLLBAR ========= */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #c4c4cc; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }
[data-theme="dark"] ::-webkit-scrollbar-thumb { background: #333; }

/* ========= RESPONSIVE ========= */
@media (max-width: 1024px) {
  .phone-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .phone-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .main-nav { display: none; }
  .hamburger { display: block; }
  .hero { min-height: 75vh; padding: 100px 20px 50px; }
  .hero h1 { font-size: 2.4rem; letter-spacing: -1px; }
  .hero p { font-size: 1rem; }
  .stats-bar { gap: 28px; }
  .stat-number { font-size: 1.6rem; }
  .section { padding: 50px 0; }
  .section-header h2 { font-size: 1.5rem; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .modal { max-width: 95%; border-radius: var(--radius); }
  .modal-body { flex-direction: column; padding: 20px; }
  .modal-image { flex: none; padding: 20px; }
  .modal-action-bar { flex-direction: column; gap: 10px; padding: 16px; }
  .page-header h1 { font-size: 1.8rem; }
}

@media (max-width: 480px) {
  .phone-grid { grid-template-columns: 1fr; gap: 16px; }
  .hero h1 { font-size: 1.9rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .stats-bar { flex-direction: column; gap: 14px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .category-pills { gap: 8px; }
  .category-pill { padding: 8px 16px; font-size: 0.82rem; }
}
