/* AustrCarHub.online – Hub/Directory Teal Theme */
:root {
  --bg: #f8fffe;
  --bg-2: #f0fdf9;
  --bg-dark: #0d4f3c;
  --teal: #0d9488;
  --teal-light: #2dd4bf;
  --green: #059669;
  --green-light: #34d399;
  --text: #0f2d24;
  --text-muted: #4b7a6a;
  --border: #b2dfdb;
  --border-light: #e0f2f1;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(13,148,136,0.08);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: 'Segoe UI', system-ui, sans-serif; line-height: 1.7; overflow-x: hidden; }

nav {
  position: sticky; top: 0; z-index: 100;
  background: white; border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 8px rgba(13,148,136,0.06);
  padding: 0 2rem; display: flex; align-items: center; justify-content: space-between; height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo-icon { width: 36px; height: 36px; background: var(--bg-dark); border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.logo-name { font-size: 1.1rem; font-weight: 800; color: var(--bg-dark); }
.logo-name span { color: var(--teal); }
.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--teal); }
.nav-btn { background: var(--teal); color: white; padding: 0.55rem 1.4rem; border-radius: 20px; font-weight: 700; font-size: 0.85rem; text-decoration: none; transition: background 0.2s; }
.nav-btn:hover { background: var(--bg-dark); }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--teal); margin: 5px 0; }

.hero { background: linear-gradient(135deg, var(--bg-dark) 0%, #1a6b54 100%); padding: 6rem 2rem 5rem; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 60px; background: var(--bg); clip-path: ellipse(55% 100% at 50% 100%); }
.hero-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; position: relative; z-index: 1; }
.badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(45,212,191,0.15); border: 1px solid rgba(45,212,191,0.4); color: var(--teal-light); padding: 4px 14px; border-radius: 20px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em; margin-bottom: 1.5rem; }
.hero h1 { font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 800; color: white; line-height: 1.15; margin-bottom: 1.2rem; }
.hero h1 em { font-style: normal; color: var(--teal-light); }
.hero p { color: rgba(255,255,255,0.75); font-size: 1rem; margin-bottom: 2rem; max-width: 440px; }
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-teal { background: var(--teal-light); color: var(--bg-dark); padding: 0.85rem 2rem; border-radius: 25px; font-weight: 700; text-decoration: none; font-size: 0.9rem; transition: opacity 0.2s; }
.btn-teal:hover { opacity: 0.85; }
.btn-white { border: 2px solid rgba(255,255,255,0.4); color: white; padding: 0.85rem 2rem; border-radius: 25px; font-weight: 600; text-decoration: none; font-size: 0.9rem; transition: all 0.2s; }
.btn-white:hover { background: rgba(255,255,255,0.1); }
.hero-nums { display: flex; gap: 2.5rem; margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.15); }
.hero-num .v { font-size: 1.8rem; font-weight: 800; color: var(--teal-light); }
.hero-num .l { font-size: 0.75rem; color: rgba(255,255,255,0.55); }

section { padding: 5rem 2rem; }
.container { max-width: 1100px; margin: 0 auto; }
.eyebrow { font-size: 0.72rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.7rem; font-weight: 600; }
.sh { font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 800; color: var(--text); margin-bottom: 1rem; }
.sp { color: var(--text-muted); max-width: 540px; margin-bottom: 3rem; font-size: 0.95rem; }

.hub-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.hub-card { background: white; border: 1px solid var(--border-light); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow); transition: all 0.3s; }
.hub-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(13,148,136,0.12); border-color: var(--border); }
.hub-icon { width: 44px; height: 44px; background: var(--bg-2); border-radius: 10px; display: flex; align-items: center; justify-content: center; margin-bottom: 1rem; }
.hub-card h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 0.5rem; }
.hub-card p { font-size: 0.87rem; color: var(--text-muted); }
.hub-card .hub-tag { font-size: 0.7rem; font-weight: 600; color: var(--teal); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.6rem; }

.info-strip { background: var(--bg-dark); color: white; padding: 4rem 2rem; }
.info-strip .container { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; }
.info-item h4 { font-size: 0.85rem; font-weight: 700; color: var(--teal-light); margin-bottom: 0.4rem; }
.info-item p { font-size: 0.85rem; color: rgba(255,255,255,0.65); }

.faq-wrap { max-width: 800px; }
.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-q { width: 100%; background: none; border: none; color: var(--text); text-align: left; padding: 1.2rem 0; font-size: 0.95rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; transition: color 0.2s; font-family: inherit; }
.faq-q:hover { color: var(--teal); }
.faq-ico { width: 20px; height: 20px; flex-shrink: 0; transition: transform 0.3s; color: var(--teal); }
.faq-item.open .faq-ico { transform: rotate(45deg); }
.faq-ans { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-ans p { padding: 0 0 1.2rem; color: var(--text-muted); font-size: 0.9rem; }

.form-g { margin-bottom: 1.4rem; }
.form-g label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--text-muted); margin-bottom: 0.4rem; }
.form-g input, .form-g textarea, .form-g select { width: 100%; background: white; border: 1.5px solid var(--border); color: var(--text); padding: 0.8rem 1rem; border-radius: 8px; font-size: 0.92rem; font-family: inherit; transition: border-color 0.2s; }
.form-g input:focus, .form-g textarea:focus { outline: none; border-color: var(--teal); }
.form-g textarea { min-height: 130px; resize: vertical; }
.btn-submit { background: var(--teal); color: white; padding: 0.9rem 2.5rem; border: none; border-radius: 25px; font-weight: 700; font-size: 0.9rem; cursor: pointer; transition: background 0.2s; }
.btn-submit:hover { background: var(--bg-dark); }

.page-hero { background: linear-gradient(135deg, var(--bg-dark), #1a6b54); padding: 5rem 2rem 4rem; }
.page-hero h1 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; color: white; margin-bottom: 1rem; }
.page-hero p { color: rgba(255,255,255,0.72); max-width: 580px; font-size: 1rem; }

.diag-table { width: 100%; border-collapse: collapse; margin-bottom: 3rem; }
.diag-table th { background: var(--bg-dark); color: white; padding: 0.9rem 1.2rem; text-align: left; font-size: 0.82rem; font-weight: 600; }
.diag-table td { padding: 0.9rem 1.2rem; border-bottom: 1px solid var(--border-light); font-size: 0.88rem; color: var(--text-muted); }
.diag-table tr:hover td { background: var(--bg-2); }
.badge-g { background: #dcfce7; color: #166534; padding: 2px 10px; border-radius: 12px; font-size: 0.75rem; font-weight: 600; }
.badge-y { background: #fef9c3; color: #854d0e; padding: 2px 10px; border-radius: 12px; font-size: 0.75rem; font-weight: 600; }

.priv h2 { font-size: 1.05rem; font-weight: 700; color: var(--teal); margin: 2rem 0 0.6rem; }
.priv p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 1rem; }

footer { background: var(--bg-dark); color: white; padding: 4rem 2rem 2rem; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.foot-brand p { color: rgba(255,255,255,0.55); font-size: 0.87rem; margin-top: 1rem; max-width: 260px; }
.foot-col h5 { font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--teal-light); margin-bottom: 1rem; font-weight: 600; }
.foot-col ul { list-style: none; }
.foot-col ul li { margin-bottom: 0.6rem; }
.foot-col ul li a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.87rem; transition: color 0.2s; }
.foot-col ul li a:hover { color: white; }
.foot-base { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.foot-base p { font-size: 0.8rem; color: rgba(255,255,255,0.4); }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  nav { padding: 0 1rem; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open { display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0; background: white; padding: 1rem 2rem; border-bottom: 1px solid var(--border-light); box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
  section { padding: 3rem 1rem; }
  .foot-grid { grid-template-columns: 1fr; }
}
