/* 
  Clínica Qualidade & Vida - Main Stylesheet
  Premium, SEO-oriented & Mobile-first design system
*/

/* Outfit - latin-ext */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/outfit-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Outfit - latin */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/outfit-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Playfair Display italic - latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/playfair-display-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/playfair-display-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Playfair Display normal - latin */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/playfair-display-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/playfair-display-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/playfair-display-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/playfair-display-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/playfair-display-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/playfair-display-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Color Palette */
  --primary: #1f4e3d;       /* Deep Forest Green */
  --primary-light: #2d6b55; /* Sage Green */
  --secondary: #3a7d65;     /* Soft Green */
  --accent: #db9423;        /* Warm Gold */
  --accent-hover: #b87a1a;  /* Darker Gold */
  --neutral-dark: #1b2621;  /* Very dark green-gray for typography */
  --neutral-light: #f5f8f6; /* Soft green-tinted light background */
  --white: #ffffff;
  --gray-light: #e6ebe7;
  --gray-medium: #8c9c94;
  
  /* Fonts */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Transitions */
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  
  /* Container & Borders */
  --container-width: 1200px;
  --radius: 12px;
  --radius-round: 50px;
  --shadow: 0 4px 20px rgba(27, 38, 33, 0.05);
  --shadow-hover: 0 10px 30px rgba(27, 38, 33, 0.12);
}

/* --- Reset & Base Styles --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--neutral-dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

/* --- Layout Utility Classes --- */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 80px 0;
}

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

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 16px;
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--secondary);
  max-width: 600px;
  margin: 0 auto 48px auto;
  font-weight: 400;
}

/* --- Buttons & Interactive --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-round);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(31, 78, 61, 0.25);
}

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

.btn-accent:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(219, 148, 35, 0.25);
}

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

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

/* --- Header & Navigation --- */
.site-header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 85px;
}

.logo-link img {
  height: 48px;
  width: auto;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 32px;
}

.nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: var(--neutral-dark);
  position: relative;
  padding: 8px 0;
}

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

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

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

.nav-cta {
  display: none;
}

/* Hamburger mobile trigger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2.5px;
  background-color: var(--primary);
  margin: 5px 0;
  transition: var(--transition);
}

/* --- Footer --- */
.site-footer {
  background-color: var(--neutral-dark);
  color: var(--white);
  padding: 60px 0 30px 0;
  font-size: 0.95rem;
}

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

.footer-widget h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: var(--accent);
  font-weight: 600;
}

.footer-logo img {
  height: 45px;
  margin-bottom: 16px;
}

.footer-widget p {
  color: var(--gray-light);
  margin-bottom: 12px;
}

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

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--gray-light);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

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

.footer-hours-list li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  padding-bottom: 8px;
  margin-bottom: 8px;
  color: var(--gray-light);
}

.footer-hours-list li span:last-child {
  color: var(--accent);
  font-weight: 500;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
  color: var(--gray-medium);
  font-size: 0.85rem;
}

.footer-socials {
  display: flex;
  gap: 16px;
}

.social-icon {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--accent);
  color: var(--neutral-dark);
  transform: translateY(-3px);
}

/* --- Homepage (index.php) --- */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, rgba(31, 78, 61, 0.92) 0%, rgba(27, 38, 33, 0.95) 100%), 
              url('../images/bg-home.webp') center/cover no-repeat;
  padding: 120px 0;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.hero-subtitle {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 600;
  animation: fadeInUp 0.8s ease;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 24px;
  animation: fadeInUp 1s ease;
}

.hero-description {
  font-size: 1.2rem;
  max-width: 650px;
  margin: 0 auto 40px auto;
  color: var(--gray-light);
  animation: fadeInUp 1.2s ease;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
  animation: fadeInUp 1.4s ease;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: -50px;
  position: relative;
  z-index: 10;
}

.feature-card {
  background-color: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon-wrapper {
  width: 70px;
  height: 70px;
  background-color: var(--neutral-light);
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px auto;
  color: var(--primary);
  font-size: 1.8rem;
  transition: var(--transition);
}

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

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.intro-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

.intro-content h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 24px;
}

.intro-content p {
  margin-bottom: 16px;
  color: var(--neutral-dark);
}

.intro-image-wrapper {
  position: relative;
}

.intro-img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  width: 100%;
}

.intro-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--accent);
  color: var(--white);
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 220px;
  text-align: center;
}

.intro-badge span {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1;
}

.team-section {
  background-color: var(--neutral-light);
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.team-card {
  background-color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

.team-image-wrapper {
  overflow: hidden;
  aspect-ratio: 3/4;
}

.team-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.team-card:hover .team-image-wrapper img {
  transform: scale(1.05);
}

.team-info {
  padding: 30px;
  text-align: center;
}

.team-role {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.team-info h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.team-specialties {
  color: var(--secondary);
  font-size: 0.95rem;
  font-style: italic;
}

/* --- About Us Page (sobre-nos.php) --- */
.about-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--neutral-dark) 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.about-hero h1 {
  font-family: var(--font-heading);
  font-size: 3rem;
  margin-bottom: 16px;
}

.about-hero p {
  color: var(--gray-light);
  font-size: 1.1rem;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.philosophy-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4/3;
}

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

.gallery-item:hover img {
  transform: scale(1.08);
}

/* --- Services Page (atendimentos.php) --- */
.services-grid {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.service-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.service-row:nth-child(even) {
  /* Will adjust for desktop */
}

.service-image-wrapper img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  width: 100%;
}

.service-content h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.service-tagline {
  font-size: 0.95rem;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.service-content p {
  margin-bottom: 20px;
  color: var(--neutral-dark);
}

.service-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.service-list li {
  position: relative;
  padding-left: 24px;
  font-size: 0.95rem;
  color: var(--neutral-dark);
}

.service-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

/* --- Contact Page (contato.php) --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}

.contact-info-panel h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 24px;
}

.contact-detail-item {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-detail-icon {
  width: 50px;
  height: 50px;
  background-color: var(--neutral-light);
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-detail-text h4 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.contact-detail-text p, .contact-detail-text a {
  color: var(--neutral-dark);
}

.contact-detail-text a:hover {
  color: var(--accent);
}

.map-wrapper {
  margin-top: 30px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.map-wrapper iframe {
  width: 100%;
  height: 350px;
  border: 0;
  display: block;
}

/* Contact Form */
.contact-form-panel {
  background-color: var(--neutral-light);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form-panel h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.contact-form-panel p {
  color: var(--secondary);
  margin-bottom: 30px;
}

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

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
  color: var(--primary);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: 8px;
  border: 1px solid var(--gray-light);
  background-color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition);
  color: var(--neutral-dark);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(31, 78, 61, 0.1);
}

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

.form-alert {
  padding: 16px;
  border-radius: 8px;
  margin-bottom: 24px;
  font-size: 0.95rem;
  font-weight: 500;
}

.form-alert-success {
  background-color: #d1e7dd;
  color: #0f5132;
  border: 1px solid #badbcc;
}

.form-alert-danger {
  background-color: #f8d7da;
  color: #842029;
  border: 1px solid #f5c2c7;
}

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

/* --- Responsive Media Queries --- */

/* Tablet & Landscape Mobile (768px+) */
@media (min-width: 768px) {
  .hero-title {
    font-size: 4rem;
  }
  
  .hero-buttons {
    flex-direction: row;
  }
  
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .intro-section {
    grid-template-columns: 1fr 1fr;
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin: 0 auto;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-hero {
    padding: 120px 0;
  }
  
  .philosophy-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

/* Desktop Screens (1024px+) */
@media (min-width: 1024px) {
  .site-header {
    padding: 0;
  }
  
  .nav-menu {
    display: flex;
  }
  
  .nav-cta {
    display: inline-flex;
  }
  
  .nav-toggle {
    display: none;
  }
  
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  }
  
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  
  .services-grid {
    gap: 120px;
  }
  
  .service-row {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
  }
  
  .service-row:nth-child(even) {
    grid-template-columns: 0.9fr 1.1fr;
  }
  
  .service-row:nth-child(even) .service-image-wrapper {
    order: 1;
  }
  
  .service-row:nth-child(even) .service-content {
    order: 2;
  }
  
  .contact-layout {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 80px;
  }
}

/* Mobile Only Navigation styles */
@media (max-width: 1023px) {
  .nav-toggle {
    display: block;
  }
  
  .nav-menu {
    position: absolute;
    top: 85px;
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    gap: 0;
    width: 100%;
    border-top: 1px solid var(--gray-light);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
  }
  
  .nav-menu.active {
    max-height: 400px;
  }
  
  .nav-menu li {
    width: 100%;
    text-align: center;
  }
  
  .nav-link {
    display: block;
    padding: 16px 0;
    border-bottom: 1px solid var(--neutral-light);
    width: 100%;
  }
  
  .nav-link::after {
    display: none;
  }
}

/* --- Floating WhatsApp Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: var(--white);
  width: 60px;
  height: 60px;
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  z-index: 999;
  transition: var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
  background-color: #20ba5a;
  color: var(--white);
}

/* --- Cookie Consent Banner --- */
.cookie-consent-overlay {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.12);
  z-index: 9999;
  padding: 24px 0;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.4s ease;
}

.cookie-consent-overlay.show {
  transform: translateY(0);
  opacity: 1;
}

.cookie-consent-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  text-align: center;
}

.cookie-consent-text {
  font-size: 0.95rem;
  color: var(--neutral-dark);
  line-height: 1.6;
  max-width: 700px;
}

.cookie-consent-text a {
  color: var(--primary);
  text-decoration: underline;
  font-weight: 500;
}

.cookie-consent-text a:hover {
  color: var(--accent);
}

.cookie-consent-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.cookie-btn {
  padding: 12px 28px;
  border-radius: var(--radius-round);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.cookie-btn-accept {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.cookie-btn-accept:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
}

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

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

/* Cookie Settings Modal */
.cookie-settings-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.cookie-settings-overlay.show {
  display: flex;
}

.cookie-settings-panel {
  background-color: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.cookie-settings-panel h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 16px;
}

.cookie-settings-panel p {
  color: var(--secondary);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--gray-light);
}

.cookie-option:last-child {
  border-bottom: none;
}

.cookie-option-info h4 {
  font-size: 1rem;
  color: var(--neutral-dark);
  margin-bottom: 4px;
}

.cookie-option-info p {
  font-size: 0.85rem;
  color: var(--gray-medium);
  margin-bottom: 0;
}

.cookie-toggle {
  position: relative;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.cookie-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-toggle-slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: var(--gray-light);
  border-radius: 26px;
  transition: var(--transition);
}

.cookie-toggle-slider::before {
  content: '';
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background-color: var(--white);
  border-radius: 50%;
  transition: var(--transition);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
  background-color: var(--primary);
}

.cookie-toggle input:checked + .cookie-toggle-slider::before {
  transform: translateX(22px);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-settings-buttons {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.cookie-settings-buttons .cookie-btn {
  flex: 1;
}

@media (min-width: 768px) {
  .cookie-consent-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  
  .cookie-consent-buttons {
    flex-shrink: 0;
  }
}

