/*
 * Tatlı Metal Geri Dönüşüm - Premium CSS Design System
 * Author: Antigravity AI
 * Technology: Vanilla CSS3 (W3C Standard Compliant)
 */

/* Import Inter Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* CSS Variables */
:root {
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Color Palette */
  --color-primary: #0f172a;       /* Dark Lacivert */
  --color-primary-light: #1e293b; /* Antrasit Light */
  --color-primary-rgb: 15, 23, 42;
  --color-accent: #0284c7;        /* Clean metallic blue */
  --color-accent-rgb: 2, 132, 199;
  --color-text-dark: #0f172a;
  --color-text-muted: #475569;
  --color-bg-light: #f8fafc;      /* Açık Gri */
  --color-bg-dark: #090d16;
  --color-white: #ffffff;
  --color-border: #e2e8f0;
  
  /* CTAs */
  --color-cta: #f97316;           /* Turuncu CTA */
  --color-cta-hover: #ea580c;
  --color-whatsapp: #22c55e;      /* Yeşil WhatsApp */
  --color-whatsapp-hover: #16a34a;
  
  /* Shadow & Transitions */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.05), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-premium: 0 20px 25px -5px rgba(0, 0, 0, 0.02), 0 8px 10px -6px rgba(0, 0, 0, 0.02);
  --shadow-card-hover: 0 25px 50px -12px rgba(15, 23, 42, 0.08);
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-round: 9999px;
  
  --header-height: 80px;
  --container-max-width: 1280px;
}

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

html {
  font-family: var(--font-family);
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-primary);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 {
  font-size: 2.75rem;
  font-weight: 800;
}

h2 {
  font-size: 2.25rem;
  font-weight: 800;
  position: relative;
  padding-bottom: 0.75rem;
}

h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--color-cta);
  border-radius: var(--radius-round);
}

.text-center h2::after {
  left: 50%;
  transform: translateX(-50%);
}

h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

h4 {
  font-size: 1.25rem;
}

p {
  color: var(--color-text-muted);
  font-size: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

/* Layout Elements */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-bg {
  background-color: var(--color-white);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  background-color: rgba(2, 132, 199, 0.08);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-round);
  margin-bottom: 0.75rem;
}

.section-header p {
  margin-top: 1rem;
  font-size: 1.125rem;
}

/* Grid Utilities */
.grid {
  display: grid;
  gap: 1.5rem;
}

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

/* Flex Alignments */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.align-center { display: flex; align-items: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-normal);
  gap: 0.5rem;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
}

.btn-primary {
  background-color: var(--color-cta);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-cta-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(249, 115, 22, 0.2);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-outline:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: var(--color-whatsapp);
  color: var(--color-white);
}

.btn-whatsapp:hover {
  background-color: var(--color-whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(34, 197, 94, 0.2);
}

.btn-dark {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-dark:hover {
  background-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(15, 23, 42, 0.15);
}

/* Sticky Header & Navigation */
.header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-normal);
}

.header-top {
  background-color: var(--color-primary);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8125rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-top-contacts {
  display: flex;
  gap: 1.5rem;
}

.header-top-contacts a {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.header-top-contacts a:hover {
  color: var(--color-cta);
}

.header-top-message {
  font-weight: 500;
}

.main-header {
  height: var(--header-height);
  background-color: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: var(--transition-normal);
}

/* Header state on scroll */
.scrolled .header-top {
  display: none;
}

.scrolled .main-header {
  height: 70px;
  background-color: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.2);
}

.logo img {
  height: 65px;
  width: auto;
  display: block;
  transition: var(--transition-normal);
  filter: brightness(0) invert(1);
}

.scrolled .logo img {
  height: 52px;
}

/* Main Nav */
.main-nav {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  height: 100%;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  padding: 0.5rem 0;
  position: relative;
  transition: var(--transition-normal);
}

.nav-link:hover, .nav-item.active .nav-link {
  color: var(--color-cta);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-cta);
  transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-item.active .nav-link::after {
  width: 100%;
}

/* Dropdown Menu */
.has-dropdown {
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  background-color: var(--color-primary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.75rem 0;
  min-width: 230px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-normal);
  list-style: none;
  z-index: 1001;
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 550;
  color: rgba(255, 255, 255, 0.9);
  transition: var(--transition-normal);
}

.dropdown-item a:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--color-cta);
  padding-left: 1.5rem;
}

/* Header CTAs */
.header-actions {
  display: flex;
  gap: 0.75rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--color-white);
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: currentColor;
  margin: 5px 0;
  transition: var(--transition-normal);
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh;
  margin-top: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9) 0%, rgba(28, 37, 65, 0.8) 100%), url('../images/hero-bg.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  color: var(--color-white);
  padding: 10rem 0 6rem 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 3rem;
}

.hero-content {
  max-width: 750px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(249, 115, 22, 0.15);
  border: 1px solid rgba(249, 115, 22, 0.3);
  color: var(--color-cta);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-round);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-content h1 {
  color: var(--color-white);
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.25rem;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-badge-container {
  display: flex;
  gap: 2rem;
  margin-top: 3.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-badge-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--color-cta);
  font-size: 1.25rem;
}

.hero-badge-text h4 {
  color: var(--color-white);
  font-size: 1.125rem;
  font-weight: 600;
}

.hero-badge-text p {
  font-size: 0.875rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
}

/* Quick Lead Form in Hero / Sidebar */
.lead-form-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2rem;
  color: var(--color-text-dark);
  position: relative;
  overflow: hidden;
}

.lead-form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--color-cta);
}

.lead-form-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.35rem;
}

.lead-form-card p {
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  outline: none;
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  transition: var(--transition-fast);
}

.form-input:focus {
  border-color: var(--color-accent);
  background-color: var(--color-white);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

textarea.form-input {
  height: 90px;
  resize: none;
}

/* Neden Biz / Why Choose Us */
.feature-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-premium);
  transition: var(--transition-normal);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(2, 132, 199, 0.2);
}

.feature-icon {
  width: 56px;
  height: 56px;
  background-color: rgba(2, 132, 199, 0.08);
  color: var(--color-accent);
  border-radius: var(--radius-md);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-normal);
}

.feature-card:hover .feature-icon {
  background-color: var(--color-cta);
  color: var(--color-white);
}

.feature-card h3 {
  margin-bottom: 0.75rem;
}

/* Scrap Types / Hurda Türleri Grid */
.scrap-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.scrap-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(2, 132, 199, 0.2);
}

.scrap-img-wrapper {
  position: relative;
  height: 180px;
  overflow: hidden;
  background-color: #e2e8f0;
}

.scrap-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.scrap-card:hover .scrap-img {
  transform: scale(1.08);
}

.scrap-card-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.scrap-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.scrap-card p {
  font-size: 0.875rem;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.scrap-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
  margin-top: auto;
}

.scrap-price-tag {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-accent);
  background-color: rgba(2, 132, 199, 0.08);
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
}

.scrap-card-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-cta);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.scrap-card-link svg {
  transition: var(--transition-fast);
}

.scrap-card:hover .scrap-card-link svg {
  transform: translateX(3px);
}

/* Scrap Prices Section */
.price-table-container {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  overflow: hidden;
  margin-bottom: 2rem;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.price-table th {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 1rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.price-table td {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9375rem;
}

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

.price-table tr:nth-child(even) {
  background-color: var(--color-bg-light);
}

.price-table tr:hover {
  background-color: rgba(2, 132, 199, 0.03);
}

.price-trend-up {
  color: var(--color-whatsapp);
  font-weight: 600;
}

/* Timeline / Working Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
}

.process-card {
  background-color: var(--color-white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-premium);
  position: relative;
  z-index: 2;
  text-align: center;
}

.process-number {
  width: 60px;
  height: 60px;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 1.5rem;
  font-weight: 800;
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  border: 4px solid var(--color-bg-light);
  box-shadow: 0 0 0 4px var(--color-primary);
}

.process-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

/* Service Regions / Hizmet Bölgeleri Grid */
.region-badge-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.region-badge {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem;
  text-align: center;
  font-weight: 600;
  color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  transition: var(--transition-normal);
}

.region-badge:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
  border-color: var(--color-accent);
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}

.region-subtext {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 400;
}

.region-badge:hover .region-subtext {
  color: rgba(255, 255, 255, 0.8);
}

/* Testimonials / Müşteri Yorumları */
.testimonial-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-premium);
}

.testimonial-stars {
  color: #ffb800;
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.testimonial-text {
  font-size: 0.9375rem;
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-round);
  background-color: var(--color-primary);
  color: var(--color-white);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-name {
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.9375rem;
}

.testimonial-meta {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* FAQ Accordion */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.faq-header {
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  font-weight: 600;
  color: var(--color-primary);
}

.faq-icon {
  transition: var(--transition-normal);
}

.faq-body {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out, padding var(--transition-normal) ease-out;
}

.faq-item.active {
  border-color: rgba(2, 132, 199, 0.3);
  box-shadow: var(--shadow-md);
}

.faq-item.active .faq-header {
  color: var(--color-accent);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-item.active .faq-body {
  padding: 0 1.5rem 1.5rem;
  max-height: 500px; /* arbitrary height to slide down */
}

/* Contact & Google Maps Block */
.contact-section-inner {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
}

.contact-info-block {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(2, 132, 199, 0.08);
  color: var(--color-accent);
  border-radius: var(--radius-md);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-text h3 {
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.contact-info-text p, .contact-info-text a {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.contact-info-text a:hover {
  color: var(--color-cta);
}

.map-container {
  height: 350px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Footer Section */
.footer {
  background-color: var(--color-primary);
  color: rgba(255, 255, 255, 0.8);
  padding: 4.5rem 0 1.5rem;
  border-top: 4px solid var(--color-cta);
}

.footer h3 {
  color: var(--color-white);
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-cta);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.footer-logo {
  height: 144px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 1.25rem;
  transition: var(--transition-normal);
}

.footer-about p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.875rem;
  margin: 1.25rem 0 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.footer-links a:hover {
  color: var(--color-cta);
  padding-left: 0.25rem;
}

.footer-contact-list {
  list-style: none;
  font-size: 0.875rem;
}

.footer-contact-list li {
  margin-bottom: 1rem;
  display: flex;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-contact-list a {
  color: rgba(255, 255, 255, 0.65);
}

.footer-contact-list a:hover {
  color: var(--color-cta);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  font-size: 0.8125rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom-links a {
  margin-left: 1.5rem;
  color: rgba(255, 255, 255, 0.65);
}

.footer-bottom-links a:hover {
  color: var(--color-cta);
}

/* Floating Elements (WhatsApp & Call) */
.floating-widgets {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 999;
}

.float-btn {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: var(--transition-normal);
  font-size: 1.75rem;
  cursor: pointer;
  position: relative;
}

.float-btn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.float-whatsapp {
  background-color: var(--color-whatsapp);
}

.float-phone {
  background-color: var(--color-cta);
}

.float-tooltip {
  position: absolute;
  right: 70px;
  background-color: var(--color-primary);
  color: var(--color-white);
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.float-btn:hover .float-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Sticky Bottom conversion bar (mobile only) */
.mobile-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-white);
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
  grid-template-columns: repeat(2, 1fr);
  z-index: 998;
}

.mobile-sticky-cta a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-white);
}

.mobile-sticky-cta-phone {
  background-color: var(--color-cta);
}

.mobile-sticky-cta-whatsapp {
  background-color: var(--color-whatsapp);
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 44px;
  height: 44px;
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  color: var(--color-text-dark);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-normal);
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* Subpage Specific styles (Breadcrumb banner, Page details) */
.breadcrumb-banner {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.95) 0%, rgba(28, 37, 65, 0.9) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 8.5rem 0 2rem 0;
  margin-top: 0;
}

.breadcrumb-list {
  display: flex;
  list-style: none;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  gap: 0.5rem;
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item::after {
  content: '/';
  margin-left: 0.5rem;
  color: rgba(255, 255, 255, 0.4);
}

.breadcrumb-item:last-child::after {
  content: none;
}

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

.breadcrumb-item.active {
  color: var(--color-white);
  font-weight: 600;
}

.subpage-container {
  padding: 4rem 0;
}

.subpage-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 3rem;
}

.subpage-article {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 3rem;
  box-shadow: var(--shadow-premium);
}

.subpage-article h2 {
  font-size: 1.85rem;
  margin: 2.25rem 0 1rem;
}

.subpage-article p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

.subpage-article ul, .subpage-article ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.subpage-article li {
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  color: var(--color-text-muted);
}

.subpage-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-widget {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.sidebar-widget h3 {
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--color-border);
}

.sidebar-widget h3::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--color-cta);
}

.sidebar-links {
  list-style: none;
}

.sidebar-links li {
  margin-bottom: 0.75rem;
}

.sidebar-links a {
  display: flex;
  justify-content: space-between;
  font-size: 0.9375rem;
  font-weight: 550;
  color: var(--color-text-dark);
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  background-color: var(--color-bg-light);
}

.sidebar-links a:hover {
  background-color: var(--color-accent);
  color: var(--color-white);
}

/* Form Success & Error styles */
.form-message {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  display: none;
}

.form-message.success {
  background-color: rgba(34, 197, 94, 0.1);
  color: var(--color-whatsapp-hover);
  border: 1px solid rgba(34, 197, 94, 0.3);
  display: block;
}

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

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  .grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  :root {
    --header-height: 70px;
  }
  
  .header-top {
    display: none;
  }
  
  .hero {
    margin-top: 0;
    padding-top: 7rem;
    min-height: auto;
    text-align: center;
  }
  
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  
  .hero-content {
    margin: 0 auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-badge-container {
    justify-content: center;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .main-nav {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 280px;
    height: calc(100vh - var(--header-height));
    background-color: var(--color-primary);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 10px 0 30px rgba(0,0,0,0.25);
    transition: var(--transition-normal);
    z-index: 1000;
    align-items: flex-start;
    padding: 2rem 1.5rem;
    overflow-y: auto;
  }
  
  .main-nav.active {
    left: 0;
  }
  
  .nav-list {
    flex-direction: column;
    width: 100%;
    height: auto;
    gap: 1rem;
  }
  
  .nav-item {
    width: 100%;
    height: auto;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .nav-link {
    width: 100%;
    padding: 0.75rem 0;
  }
  
  .nav-link::after {
    display: none;
  }
  
  .has-dropdown:hover .dropdown-menu {
    display: none;
  }
  
  /* Simple mobile dropdown expand click */
  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    border-left: 2px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: 0.5rem 0 0 1rem;
    margin-top: 0.5rem;
    width: 100%;
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    background-color: transparent;
  }
  
  .nav-item.open .dropdown-menu {
    display: block;
  }
  
  .header-actions .btn-sm {
    display: none; /* Hide header buttons on mobile, show sticky mobile cta */
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .region-badge-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .contact-section-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-logo {
    height: 80px;
    margin-bottom: 1rem;
  }
  
  .subpage-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  body {
    padding-bottom: 60px; /* Offset for sticky bottom mobile bar */
  }
  
  .mobile-sticky-cta {
    display: grid;
  }
  
  .floating-widgets {
    bottom: 5.5rem;
    right: 1.5rem;
  }
  
  .back-to-top {
    bottom: 5.5rem;
    left: 1.5rem;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .hero-content h1 {
    font-size: 2.25rem;
  }
  
  .section {
    padding: 3.5rem 0;
  }
  
  .grid-2, .grid-3, .grid-4, .process-grid {
    grid-template-columns: 1fr;
  }
  
  .region-badge-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .footer-bottom-links a {
    margin: 0 0.75rem;
  }
  
  .subpage-article {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .region-badge-grid {
    grid-template-columns: 1fr;
  }
  
  .hero-badge-container {
    flex-direction: column;
    gap: 1rem;
  }
}
