/*
Theme Name: AstraStäd
Theme URI: https://astrastad.se
Author: AstraStäd
Description: Professionellt WordPress-tema för AstraStäd – städning för företag i Göteborg.
Version: 2.0
License: GNU General Public License v2 or later
Text Domain: astrastad
*/

/* ============================================================
   CSS VARIABLES – Blå färgpalett
============================================================ */
:root {
  --primary: #0493e0;
  --primary-dark: #0372ae;
  --primary-light: #ebf7fe;
  --foreground: #2b2f3a;
  --background: #FFFFFF;
  --section-light: #f7f9fc;
  --muted: #6B7280;
  --border: #e2e8f0;
  --card-bg: #FFFFFF;
  --font-heading: 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --shadow-soft: 0 4px 20px -2px rgba(43,47,58,0.08);
  --shadow-card: 0 8px 30px -4px rgba(43,47,58,0.10);
  --shadow-button: 0 4px 14px -2px rgba(4,147,224,0.40);
  --radius: 0.75rem;
}

/* ============================================================
   RESET & BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--foreground);
  background: var(--background);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ============================================================
   LAYOUT
============================================================ */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
.section-padding { padding: 5rem 0; }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 1.9rem;
  border-radius: 9999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all .2s ease;
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: var(--shadow-button);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(4,147,224,0.5);
}
.btn-outline {
  background: #fff;
  color: var(--foreground);
  border: 2px solid #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.btn-outline:hover { background: rgba(255,255,255,0.9); }
.btn-lg { padding: 1rem 2.4rem; font-size: 1.05rem; height: 3.5rem; }

/* ============================================================
   BADGE
============================================================ */
.section-badge {
  display: inline-block;
  padding: .3rem .9rem;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 9999px;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}

/* ============================================================
   HEADER
============================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .65rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.site-logo img { height: 6.5rem; width: auto; }
.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav a { color: var(--muted); font-weight: 500; transition: color .2s; }
.main-nav a:hover { color: var(--foreground); }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-phone { display: flex; align-items: center; gap: .4rem; font-weight: 500; color: var(--foreground); }
.header-phone svg { color: var(--primary); }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; padding: .5rem; }
.mobile-nav { display: none; padding: 1rem 2rem 1.5rem; border-top: 1px solid var(--border); flex-direction: column; gap: 1rem; }
.mobile-nav a { color: var(--muted); font-weight: 500; }
.mobile-nav a:hover { color: var(--foreground); }
@media (max-width: 1024px) {
  .main-nav, .header-actions { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav.open { display: flex; }
}

/* ============================================================
   HERO
============================================================ */
#hero { position: relative; min-height: 100vh; padding-top: 7rem; display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(43,47,58,0.87) 0%, rgba(43,47,58,0.65) 55%, rgba(43,47,58,0.1) 100%);
}
.hero-content {
  position: relative; z-index: 10; width: 100%;
  max-width: 1200px; margin: 0 auto; padding: 4rem 2rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.hero-text h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: #fff;
  margin-bottom: 1.25rem;
  line-height: 1.15;
  letter-spacing: -.01em;
}
.hero-text > p { color: rgba(255,255,255,0.9); font-size: 1.15rem; margin-bottom: 2rem; line-height: 1.7; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; }
.hero-social-proof { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.2); }
.hero-social-proof .eyebrow { color: rgba(255,255,255,0.55); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; margin-bottom: .4rem; }
.hero-social-proof .clients { color: rgba(255,255,255,0.9); font-size: 1.1rem; font-weight: 600; }

/* Form card */
.hero-form-card { background: var(--card-bg); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow-card); max-width: 370px; margin-left: auto; }
.hero-form-card h2 { font-size: 1.1rem; margin-bottom: .25rem; color: var(--foreground); }
.hero-form-card .form-subtitle { font-size: .875rem; color: var(--muted); margin-bottom: 1.1rem; }
.form-group { margin-bottom: .65rem; }
.form-group input, .form-group textarea {
  width: 100%; padding: .6rem .85rem;
  border: 1.5px solid var(--border); border-radius: .55rem;
  font-family: var(--font-body); font-size: .875rem; color: var(--foreground);
  background: var(--section-light); transition: border .2s; outline: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); }
.form-group textarea { resize: none; height: 4.75rem; }
.form-full { width: 100%; justify-content: center; margin-top: .4rem; }
.form-note { text-align: center; font-size: .75rem; color: var(--muted); margin-top: .65rem; }

@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-form-card { max-width: 100%; margin-left: 0; }
}

/* ============================================================
   SECTION HEADER
============================================================ */
.sec-header { text-align: center; margin-bottom: 3.5rem; }
.sec-header h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: .9rem; }
.sec-header p { color: var(--muted); max-width: 580px; margin: 0 auto; font-size: 1rem; }

/* ============================================================
   SERVICES
============================================================ */
.svc-main { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 1.75rem; }
.svc-other { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; }
.svc-card { position: relative; border-radius: 1.2rem; overflow: hidden; box-shadow: var(--shadow-soft); transition: box-shadow .3s; }
.svc-card:hover { box-shadow: var(--shadow-card); }
.svc-img-main { height: 24rem; overflow: hidden; position: relative; }
.svc-img-other { height: 13rem; overflow: hidden; position: relative; }
.svc-img-main img, .svc-img-other img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.svc-card:hover img { transform: scale(1.05); }
.svc-grad { position: absolute; inset: 0; background: linear-gradient(to top, rgba(43,47,58,0.92) 0%, rgba(43,47,58,0.25) 55%, transparent 100%); }
.svc-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 1.75rem; }
.svc-body-sm { padding: 1.1rem; }
.svc-body h3 { font-size: 1.3rem; color: #fff; margin-bottom: .45rem; }
.svc-body-sm h3 { font-size: 1.05rem; }
.svc-body p { color: rgba(255,255,255,.75); font-size: .9rem; line-height: 1.6; margin-bottom: .9rem; }
.svc-body-sm p { font-size: .85rem; margin-bottom: 0; }
.svc-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .5rem 1.3rem; border-radius: 9999px;
  background: var(--primary); color: #fff;
  font-size: .875rem; font-weight: 600;
  box-shadow: var(--shadow-button); transition: all .2s;
}
.svc-btn:hover { background: var(--primary-dark); }
@media (max-width: 900px) {
  .svc-main { grid-template-columns: 1fr; }
  .svc-other { grid-template-columns: 1fr; }
}

/* ============================================================
   WHY CHOOSE US
============================================================ */
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.75rem; margin-top: 2.5rem; }
.why-card { background: var(--section-light); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-soft); transition: all .3s; }
.why-card:hover { box-shadow: var(--shadow-card); transform: translateY(-4px); }
.why-icon { width: 3.25rem; height: 3.25rem; border-radius: .8rem; background: rgba(4,147,224,0.1); display: flex; align-items: center; justify-content: center; margin-bottom: 1.1rem; color: var(--primary); transition: all .3s; }
.why-card:hover .why-icon { background: var(--primary); color: #fff; transform: scale(1.1); }
.why-card h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.why-card p { color: var(--muted); font-size: .9rem; line-height: 1.65; }
@media (max-width: 768px) { .why-grid { grid-template-columns: 1fr; } }

/* ============================================================
   ABOUT
============================================================ */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.about-text h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); margin-bottom: 1.1rem; }
.about-text h2 .highlight { background: linear-gradient(to right, var(--primary), #38bdf8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; display: block; }
.about-text p { color: var(--muted); font-size: 1rem; line-height: 1.75; margin-bottom: .9rem; }
.stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.1rem; }
.stat { background: #fff; border-radius: var(--radius); padding: 1.6rem 1rem; text-align: center; box-shadow: var(--shadow-soft); transition: all .3s; }
.stat:hover { box-shadow: var(--shadow-card); transform: translateY(-4px); }
.stat-icon { width: 3.25rem; height: 3.25rem; border-radius: .8rem; background: rgba(4,147,224,0.1); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; color: var(--primary); transition: all .3s; }
.stat:hover .stat-icon { background: var(--primary); color: #fff; transform: scale(1.1); }
.stat-val { font-size: 1.8rem; font-weight: 700; margin-bottom: .2rem; }
.stat-lbl { color: var(--muted); font-size: .85rem; font-weight: 500; }
@media (max-width: 768px) { .about-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FAQ
============================================================ */
.faq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.faq-left { position: sticky; top: 8rem; }
.faq-left h2 { font-size: clamp(1.7rem, 3vw, 2.6rem); margin-bottom: .9rem; }
.faq-left p { color: var(--muted); font-size: 1rem; margin-bottom: 1.75rem; }
.faq-list { display: flex; flex-direction: column; gap: .9rem; }
.faq-item { background: var(--section-light); border-radius: var(--radius); box-shadow: var(--shadow-soft); overflow: hidden; transition: box-shadow .3s; }
.faq-item:hover { box-shadow: var(--shadow-card); }
.faq-q { width: 100%; background: none; border: none; padding: 1.1rem 1.4rem; text-align: left; font-family: var(--font-heading); font-weight: 600; font-size: .93rem; color: var(--foreground); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; transition: color .2s; }
.faq-q:hover { color: var(--primary); }
.chevron { flex-shrink: 0; transition: transform .3s; }
.faq-item.open .chevron { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 1.4rem 1.1rem; color: var(--muted); font-size: .9rem; line-height: 1.7; }
.faq-item.open .faq-a { display: block; }
@media (max-width: 768px) { .faq-grid { grid-template-columns: 1fr; } .faq-left { position: static; } }

/* ============================================================
   CONTACT
============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: start; }
.contact-info h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: .9rem; }
.contact-info > p { color: var(--muted); font-size: 1rem; margin-bottom: 1.75rem; line-height: 1.7; }
.c-items { display: flex; flex-direction: column; gap: 1.1rem; }
.c-item { display: flex; align-items: flex-start; gap: .9rem; }
.c-icon { width: 2.6rem; height: 2.6rem; border-radius: .7rem; background: rgba(4,147,224,0.1); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--primary); transition: all .3s; }
.c-item:hover .c-icon { background: var(--primary); color: #fff; }
.c-item a, .c-item span { color: var(--muted); font-size: .93rem; transition: color .2s; padding-top: .2rem; }
.c-item a:hover { color: var(--primary); }
.contact-card { background: #fff; border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--shadow-card); }
.contact-card h3 { font-size: 1.35rem; margin-bottom: .4rem; }
.contact-card > p { color: var(--muted); font-size: .9rem; margin-bottom: 1.5rem; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FOOTER
============================================================ */
footer { background: var(--foreground); color: rgba(255,255,255,0.9); }
.footer-grid { max-width: 1200px; margin: 0 auto; padding: 3.5rem 2rem 2.5rem; display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 2.5rem; }
.f-brand h4 { font-size: 1.15rem; margin-bottom: .9rem; }
.f-brand h4 span { color: var(--primary); }
.f-brand p { color: rgba(255,255,255,0.5); font-size: .88rem; line-height: 1.7; margin-bottom: 1.3rem; }
.socials { display: flex; gap: .65rem; }
.social { width: 2.35rem; height: 2.35rem; border-radius: .6rem; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: #fff; transition: all .3s; }
.social:hover { background: var(--primary); transform: scale(1.1); }
.f-col h5 { font-size: .95rem; font-weight: 700; margin-bottom: 1.1rem; }
.f-links { display: flex; flex-direction: column; gap: .55rem; }
.f-links a, .f-links span { color: rgba(255,255,255,0.5); font-size: .88rem; transition: color .2s; }
.f-links a:hover { color: var(--primary); }
.f-contact-item { display: flex; align-items: flex-start; gap: .7rem; margin-bottom: .9rem; }
.f-contact-icon { width: 2.1rem; height: 2.1rem; border-radius: .55rem; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--primary); transition: all .3s; }
.f-contact-item:hover .f-contact-icon { background: var(--primary); color: #fff; }
.f-contact-item a, .f-contact-item span { color: rgba(255,255,255,0.5); font-size: .88rem; padding-top: .25rem; transition: color .2s; line-height: 1.5; }
.f-contact-item a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.4rem 2rem; max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .9rem; }
.footer-bottom p { color: rgba(255,255,255,0.3); font-size: .82rem; }
.footer-bottom-links { display: flex; gap: 1.4rem; }
.footer-bottom-links a { color: rgba(255,255,255,0.3); font-size: .82rem; transition: color .2s; }
.footer-bottom-links a:hover { color: var(--primary); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-cta-inner { flex-direction: column; text-align: center; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

/* ============================================================
   ANIMATIONS
============================================================ */
@keyframes fadeIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in { animation: fadeIn .7s ease both; }
.admin-bar #site-header { top: 32px; }

/* ============================================================
   GRADIENT TEXT
============================================================ */
.gradient-text {
  background: linear-gradient(to right, var(--primary), #38bdf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.gradient-text.block { display: block; margin-top: .25rem; }

/* ============================================================
   WHY CARDS – 5-card layout (2+3 or wrap)
============================================================ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}
/* 5 cards: first two span to center on last row */
.why-card:nth-child(4) { grid-column: 1; }
.why-card:nth-child(5) { grid-column: 2; }

/* ============================================================
   PROCESS SECTION
============================================================ */
.process-section {
  background: var(--foreground);
  color: #fff;
}
.section-badge-dark {
  display: inline-block;
  padding: .3rem .9rem;
  background: rgba(4,147,224,0.2);
  color: var(--primary);
  border-radius: 9999px;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
}
.process-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  color: #fff;
  margin-bottom: .9rem;
}
.process-subtitle {
  color: rgba(255,255,255,0.6);
  max-width: 480px;
  margin: 0 auto;
  font-size: 1rem;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 2rem;
  margin-top: 4rem;
  position: relative;
}
.process-line {
  display: none;
  position: absolute;
  top: 5rem;
  left: 16.67%;
  right: 16.67%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(4,147,224,0.4), transparent);
}
@media (min-width: 768px) { .process-line { display: block; } }
.process-step {
  text-align: center;
}
.process-icon-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 2rem;
}
.process-icon {
  width: 8rem;
  height: 8rem;
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(4,147,224,0.2), rgba(4,147,224,0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: all .5s ease;
  margin: 0 auto;
}
.process-step:hover .process-icon {
  background: linear-gradient(135deg, var(--primary), rgba(4,147,224,0.8));
  color: #fff;
  transform: scale(1.05);
  border-radius: 1.2rem;
}
.process-num {
  position: absolute;
  top: -.75rem;
  right: -.75rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: var(--primary);
  color: #fff;
  font-size: .8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(4,147,224,0.4);
}
.process-step h3 {
  font-size: 1.2rem;
  color: #fff;
  margin-bottom: .75rem;
}
.process-step p {
  color: rgba(255,255,255,0.6);
  font-size: .93rem;
  line-height: 1.7;
  max-width: 260px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .process-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ============================================================
   CTA SECTION
============================================================ */
.cta-section {
  position: relative;
  overflow: hidden;
}
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(43,47,58,0.62);
}
.cta-inner {
  position: relative;
  z-index: 10;
  padding: 5rem 2rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 5rem;
}
.cta-text {
  flex: 1;
  max-width: 480px;
}
.cta-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  color: #fff;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}
.cta-text > p {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 2rem;
}
.cta-quote {
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 2rem;
}
.cta-quote blockquote {
  color: rgba(255,255,255,0.9);
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.cta-quote-author {
  color: var(--primary);
  font-weight: 600;
  font-size: 1.05rem;
}
@media (max-width: 900px) {
  .cta-inner { flex-direction: column; gap: 2.5rem; }
  .cta-text { max-width: 100%; }
  .hero-form-card { max-width: 100%; }
}

/* ============================================================
   WHY GRID mobile fix
============================================================ */
@media (max-width: 768px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-card:nth-child(4), .why-card:nth-child(5) { grid-column: auto; }
}
/*--------------new-css-----------*/
header#site-header a.custom-logo-link img.custom-logo {
    max-width: 100px;
}
@media only screen and (max-width:1024px){
	header#site-header a.custom-logo-link {
    display: flex;
    justify-content: left;
    width: 100%;
}
}
@media only screen and (max-width:767px){
section#about .about-grid .stats {
    grid-template-columns: repeat(1, 1fr);
}
}