/* =========================================================
   CLINIQUE DENTAIRE HORIZON
   Modern bilingual dentist website
   ========================================================= */

/* -------------------------
   ROOT VARIABLES
------------------------- */

:root {
  --primary: #1373e6;
  --primary-dark: #0a4fa6;
  --primary-light: #eaf4ff;

  --secondary: #0ec5d7;
  --secondary-light: #e7fbfd;

  --dark: #10233f;
  --dark-soft: #29415f;

  --text: #5f7086;
  --text-light: #7d8da1;

  --white: #ffffff;
  --off-white: #f7fbff;
  --light-gray: #edf3f8;
  --border: #dce7f1;

  --success: #28a76f;
  --warning: #f4b942;

  --shadow-small: 0 8px 24px rgba(16, 35, 63, 0.08);
  --shadow-medium: 0 18px 45px rgba(16, 35, 63, 0.12);
  --shadow-large: 0 30px 70px rgba(16, 35, 63, 0.18);

  --radius-small: 10px;
  --radius-medium: 18px;
  --radius-large: 28px;

  --transition: 0.3s ease;

  --container-width: 1200px;
}

/* -------------------------
   RESET
------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

ul {
  list-style: none;
}

section {
  position: relative;
}

/* -------------------------
   GLOBAL UTILITIES
------------------------- */

.container {
  width: min(100% - 40px, var(--container-width));
  margin-inline: auto;
}

.section {
  padding: 110px 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 55px;
}

.section-heading.centered {
  text-align: center;
  margin-inline: auto;
}

.section-heading h2,
.about-content h2,
.technology-grid h2,
.appointment-content h2 {
  font-family: "Playfair Display", serif;
  color: var(--dark);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.15;
  margin: 14px 0 20px;
}

.section-heading p,
.about-content > p,
.appointment-content > p {
  font-size: 1.05rem;
  color: var(--text);
}

.section-label {
  display: inline-block;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.light-label {
  color: #a9ddff;
}

/* -------------------------
   BUTTONS
------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.94rem;
  font-weight: 700;
  transition: transform var(--transition),
              background var(--transition),
              border-color var(--transition),
              box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), #0d98e8);
  box-shadow: 0 12px 30px rgba(19, 115, 230, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 18px 38px rgba(19, 115, 230, 0.38);
}

.btn-light {
  color: var(--dark);
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.85);
}

.btn-light:hover {
  background: var(--white);
  box-shadow: var(--shadow-medium);
}

.full-width {
  width: 100%;
}

/* -------------------------
   TOP BAR
------------------------- */

.top-bar {
  color: var(--white);
  background: var(--dark);
  font-size: 0.86rem;
}

.top-bar-content {
  min-height: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.top-bar p {
  color: rgba(255, 255, 255, 0.88);
}

.top-links {
  display: flex;
  gap: 26px;
}

.top-links a {
  color: rgba(255, 255, 255, 0.88);
  transition: color var(--transition);
}

.top-links a:hover {
  color: #8edcff;
}

/* -------------------------
   HEADER / NAVIGATION
------------------------- */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(220, 231, 241, 0.8);
  backdrop-filter: blur(18px);
  transition: box-shadow var(--transition);
}

.header.scrolled {
  box-shadow: 0 8px 32px rgba(16, 35, 63, 0.1);
}

.nav-container {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 14px;
  font-size: 1.35rem;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(19, 115, 230, 0.23);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.logo-text span {
  color: var(--text);
  font-size: 0.7rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.logo-text strong {
  color: var(--dark);
  font-family: "Playfair Display", serif;
  font-size: 1.45rem;
}

.nav {
  display: flex;
  align-items: center;
  gap: 27px;
}

.nav a {
  position: relative;
  color: var(--dark-soft);
  font-size: 0.91rem;
  font-weight: 600;
  transition: color var(--transition);
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--primary);
  transition: width var(--transition);
}

.nav a:hover {
  color: var(--primary);
}

.nav a:hover::after {
  width: 100%;
}

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

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-btn {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--primary);
  background: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
  transition: background var(--transition),
              color var(--transition),
              transform var(--transition);
}

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

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  color: var(--dark);
  background: var(--primary-light);
  font-size: 1.35rem;
}

/* -------------------------
   HERO
------------------------- */

.hero {
  min-height: 760px;
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(8, 35, 71, 0.92) 0%,
      rgba(10, 54, 104, 0.84) 47%,
      rgba(10, 54, 104, 0.28) 100%
    ),
    url("https://images.unsplash.com/photo-1606811971618-4486d14f3f99?auto=format&fit=crop&w=2000&q=90")
    center / cover no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -150px;
  top: -190px;
  border-radius: 50%;
  background: rgba(14, 197, 215, 0.15);
  filter: blur(10px);
  z-index: -1;
}

.hero::after {
  content: "";
  position: absolute;
  width: 450px;
  height: 450px;
  left: 38%;
  bottom: -330px;
  border-radius: 50%;
  background: rgba(19, 115, 230, 0.22);
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.65fr);
  align-items: center;
  gap: 90px;
  padding-top: 75px;
  padding-bottom: 75px;
}

.hero-text {
  max-width: 730px;
}

.hero-text .section-label {
  color: #9fdcff;
}

.hero-text h1 {
  max-width: 760px;
  margin: 16px 0 24px;
  color: var(--white);
  font-family: "Playfair Display", serif;
  font-size: clamp(3rem, 6vw, 5.35rem);
  line-height: 1.02;
  letter-spacing: -1.5px;
}

.hero-text > p {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.12rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 35px;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-feature span {
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: rgba(14, 197, 215, 0.9);
  font-size: 0.72rem;
  font-weight: 800;
}

.hero-feature p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.83rem;
  font-weight: 600;
}

.hero-card {
  padding: 38px;
  color: var(--dark);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-large);
  backdrop-filter: blur(20px);
}

.hero-card-icon {
  width: 66px;
  height: 66px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 20px;
  background: var(--primary-light);
  font-size: 2rem;
}

.hero-card h3 {
  color: var(--dark);
  font-size: 1.55rem;
  margin-bottom: 12px;
}

.hero-card p {
  margin-bottom: 20px;
  color: var(--text);
}

.phone-link {
  display: block;
  margin-bottom: 4px;
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 800;
}

.hero-card > span {
  color: var(--text-light);
  font-size: 0.83rem;
}

/* -------------------------
   TRUST STRIP
------------------------- */

.trust-strip {
  position: relative;
  z-index: 10;
  margin-top: -1px;
  background: var(--white);
  box-shadow: 0 15px 45px rgba(16, 35, 63, 0.06);
}

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

.trust-item {
  min-height: 145px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-item strong {
  color: var(--primary);
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 9px;
}

.trust-item span {
  color: var(--text);
  font-size: 0.89rem;
  font-weight: 600;
}

/* -------------------------
   SERVICES
------------------------- */

.services-section {
  background:
    radial-gradient(circle at 10% 15%, rgba(19, 115, 230, 0.07), transparent 24%),
    var(--off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.service-card {
  position: relative;
  overflow: hidden;
  padding: 35px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-small);
  transition: transform var(--transition),
              border-color var(--transition),
              box-shadow var(--transition);
}

.service-card::before {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  right: -85px;
  top: -85px;
  border-radius: 50%;
  background: var(--primary-light);
  transition: transform 0.5s ease;
}

.service-card:hover {
  transform: translateY(-9px);
  border-color: rgba(19, 115, 230, 0.28);
  box-shadow: var(--shadow-medium);
}

.service-card:hover::before {
  transform: scale(1.55);
}

.service-icon {
  position: relative;
  z-index: 1;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
  font-size: 1.75rem;
}

.service-card h3 {
  position: relative;
  z-index: 1;
  color: var(--dark);
  font-size: 1.26rem;
  margin-bottom: 12px;
}

.service-card p {
  position: relative;
  z-index: 1;
  min-height: 86px;
  margin-bottom: 20px;
  color: var(--text);
  font-size: 0.94rem;
}

.service-card a {
  position: relative;
  z-index: 1;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 700;
}

/* -------------------------
   ABOUT
------------------------- */

.about-section {
  background: var(--white);
}

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

.about-image {
  position: relative;
}

.about-image::before {
  content: "";
  position: absolute;
  inset: 30px -25px -25px 30px;
  border-radius: var(--radius-large);
  background: var(--primary-light);
  z-index: 0;
}

.about-image img {
  position: relative;
  z-index: 1;
  min-height: 590px;
  object-fit: cover;
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-medium);
}

.experience-badge {
  position: absolute;
  z-index: 3;
  right: -35px;
  bottom: 40px;
  width: 190px;
  padding: 25px;
  color: var(--white);
  background: linear-gradient(135deg, var(--primary), #0c9fd5);
  border: 7px solid var(--white);
  border-radius: 22px;
  box-shadow: var(--shadow-medium);
}

.experience-badge strong {
  display: block;
  font-family: "Playfair Display", serif;
  font-size: 2.6rem;
  line-height: 1;
  margin-bottom: 8px;
}

.experience-badge span {
  font-size: 0.78rem;
  line-height: 1.4;
}

.about-content > p {
  margin-bottom: 18px;
}

.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 22px;
  margin: 30px 0 35px;
}

.check-list > div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.check-list span {
  flex-shrink: 0;
  width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  margin-top: 2px;
  color: var(--white);
  background: var(--success);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 800;
}

.check-list p {
  color: var(--dark-soft);
  font-size: 0.91rem;
  font-weight: 600;
}

/* -------------------------
   TEAM
------------------------- */

.team-section {
  background: var(--off-white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.team-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-small);
  transition: transform var(--transition),
              box-shadow var(--transition);
}

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

.team-card img {
  height: 390px;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s ease;
}

.team-card:hover img {
  transform: scale(1.035);
}

.team-info {
  padding: 27px;
}

.team-info h3 {
  color: var(--dark);
  font-size: 1.25rem;
  margin-bottom: 3px;
}

.team-info > p {
  color: var(--primary);
  font-size: 0.87rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.team-info span {
  color: var(--text);
  font-size: 0.9rem;
}

/* -------------------------
   TECHNOLOGY
------------------------- */

.technology-section {
  padding: 110px 0;
  color: var(--white);
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 15%, rgba(14, 197, 215, 0.25), transparent 28%),
    linear-gradient(135deg, #092a52, #0b4d8f);
}

.technology-section::before {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  left: -250px;
  bottom: -250px;
  border: 80px solid rgba(255, 255, 255, 0.04);
  border-radius: 50%;
}

.technology-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 100px;
}

.technology-grid h2 {
  color: var(--white);
}

.technology-grid > div:first-child p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 1.04rem;
}

.technology-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.technology-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 20px;
  padding: 25px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 18px;
  backdrop-filter: blur(10px);
  transition: background var(--transition),
              transform var(--transition);
}

.technology-item:hover {
  transform: translateX(7px);
  background: rgba(255, 255, 255, 0.13);
}

.technology-item > span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(14, 197, 215, 0.22);
  border-radius: 15px;
  font-size: 0.85rem;
  font-weight: 800;
}

.technology-item h3 {
  color: var(--white);
  font-size: 1.08rem;
  margin-bottom: 6px;
}

.technology-item p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.88rem;
}

/* -------------------------
   TESTIMONIALS
------------------------- */

.testimonials-section {
  background: var(--white);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.testimonial-card {
  position: relative;
  padding: 35px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  transition: transform var(--transition),
              box-shadow var(--transition);
}

.testimonial-card::after {
  content: "“";
  position: absolute;
  right: 26px;
  top: 20px;
  color: rgba(19, 115, 230, 0.1);
  font-family: Georgia, serif;
  font-size: 6rem;
  line-height: 1;
}

.testimonial-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-medium);
}

.stars {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
  color: var(--warning);
  letter-spacing: 3px;
  font-size: 0.95rem;
}

.testimonial-card > p {
  position: relative;
  z-index: 1;
  min-height: 145px;
  color: var(--dark-soft);
  font-size: 0.96rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  margin-top: 22px;
}

.testimonial-author strong {
  color: var(--dark);
}

.testimonial-author span {
  color: var(--text-light);
  font-size: 0.8rem;
}
/* -------------------------
   SMILE GALLERY
------------------------- */

.gallery-section {
  background: var(--off-white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
}

.gallery-card {
  position: relative;
  min-height: 380px;
  overflow: hidden;
  border-radius: var(--radius-medium);
  box-shadow: var(--shadow-small);
}

.gallery-card img {
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(7, 28, 53, 0.88),
    rgba(7, 28, 53, 0.05) 65%
  );
}

.gallery-card:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 30px;
}

.gallery-overlay h3 {
  color: var(--white);
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.gallery-overlay p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.9rem;
}

.gallery-disclaimer {
  max-width: 700px;
  margin: 25px auto 0;
  color: var(--text-light);
  font-size: 0.78rem;
  text-align: center;
}

.faq-intro h2 {
  font-family: "Playfair Display", serif;
  color: var(--dark);
  font-size: clamp(2rem, 4vw, 3.35rem);
  line-height: 1.15;
  margin: 14px 0 20px;
}

.faq-intro > p {
  margin-bottom: 30px;
  font-size: 1.05rem;
}
/* =========================================
   FAQ
========================================= */

.faq-section {
  background: var(--off-white);
}

.faq-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.faq-intro h2 {
  font-family: "Playfair Display", serif;
  color: var(--dark);
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1.15;
  margin: 15px 0 20px;
}

.faq-intro p {
  color: var(--text-light);
  margin-bottom: 30px;
  line-height: 1.8;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-medium);
  overflow: hidden;
  box-shadow: var(--shadow-small);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 22px 28px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  font-size: 1.05rem;
  font-weight: 600;
  color: var(--dark);

  text-align: left;

  transition: background 0.3s ease;
}

.faq-question:hover {
  background: rgba(43, 126, 230, 0.05);
}

.faq-symbol {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  padding: 0 28px 24px;
  color: var(--text-light);
  line-height: 1.8;
}

.faq-item.active .faq-answer {
  max-height: 300px;
}

.faq-item.active .faq-symbol {
  transform: rotate(45deg);
}

@media (max-width: 900px) {

  .faq-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

}

/* -------------------------
   APPOINTMENT SECTION
------------------------- */

.appointment-section {
  padding: 110px 0;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(8, 36, 74, 0.96), rgba(8, 78, 139, 0.91)),
    url("https://images.unsplash.com/photo-1588776814546-1ffcf47267a5?auto=format&fit=crop&w=1800&q=85")
    center / cover no-repeat;
}

.appointment-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 85px;
}

.appointment-content h2 {
  color: var(--white);
}

.appointment-content > p {
  color: rgba(255, 255, 255, 0.76);
}

.appointment-contact {
  display: grid;
  gap: 20px;
  margin-top: 35px;
}

.appointment-contact > div {
  display: flex;
  flex-direction: column;
}

.appointment-contact span {
  color: #9ddfff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.appointment-contact a,
.appointment-contact p {
  color: var(--white);
  font-weight: 600;
}

.appointment-form {
  padding: 40px;
  color: var(--dark);
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-large);
  box-shadow: var(--shadow-large);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.form-group label {
  color: var(--dark-soft);
  font-size: 0.83rem;
  font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 11px;
  color: var(--dark);
  background: var(--off-white);
  outline: none;
  transition: border-color var(--transition),
              box-shadow var(--transition),
              background var(--transition);
}

.form-group input,
.form-group select {
  min-height: 51px;
  padding: 0 15px;
}

.form-group textarea {
  min-height: 125px;
  padding: 14px 15px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(19, 115, 230, 0.1);
}

.form-message {
  display: none;
  margin-top: 14px;
  padding: 12px;
  border-radius: 10px;
  font-size: 0.87rem;
  font-weight: 600;
  text-align: center;
}

.form-message.success {
  display: block;
  color: #146e4b;
  background: #e5f8ef;
}

.form-message.error {
  display: block;
  color: #a52b2b;
  background: #ffeaea;
}

/* -------------------------
   CONTACT
------------------------- */

.contact-section {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.contact-card {
  padding: 34px;
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-medium);
  text-align: center;
  transition: transform var(--transition),
              box-shadow var(--transition);
}

.contact-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-medium);
}

.contact-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  border-radius: 17px;
  background: var(--primary-light);
  font-size: 1.55rem;
}

.contact-card h3 {
  color: var(--dark);
  margin-bottom: 12px;
}

.contact-card p,
.contact-card a {
  display: block;
  color: var(--text);
  font-size: 0.9rem;
}

.contact-card a:hover {
  color: var(--primary);
}

/* -------------------------
   FOOTER
------------------------- */

.footer {
  padding-top: 75px;
  color: rgba(255, 255, 255, 0.7);
  background: #071c35;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 60px;
  padding-bottom: 55px;
}

.footer-logo {
  margin-bottom: 20px;
}

.footer .logo-text span {
  color: rgba(255, 255, 255, 0.55);
}

.footer .logo-text strong {
  color: var(--white);
}

.footer-brand > p {
  max-width: 350px;
  font-size: 0.9rem;
}

.footer h4 {
  color: var(--white);
  font-size: 0.96rem;
  margin-bottom: 18px;
}

.footer-grid > div:not(:first-child) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-grid a,
.footer-grid p {
  margin-bottom: 9px;
  font-size: 0.86rem;
  transition: color var(--transition);
}

.footer-grid a:hover {
  color: #8edcff;
}

.footer-bottom {
  min-height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8rem;
}

/* -------------------------
   SCROLL ANIMATIONS
------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.75s ease,
              transform 0.75s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------------
   RESPONSIVE: LARGE TABLET
------------------------- */

@media (max-width: 1100px) {
  .nav {
    gap: 17px;
  }

  .nav a {
    font-size: 0.84rem;
  }

  .desktop-btn {
    display: none;
  }

  .hero-content {
    grid-template-columns: 1fr 370px;
    gap: 45px;
  }

  .hero-text h1 {
    font-size: clamp(3rem, 6vw, 4.4rem);
  }

  .about-grid,
  .technology-grid,
  .appointment-grid {
    gap: 55px;
  }

  .about-image img {
    min-height: 520px;
  }

  .footer-grid {
    gap: 35px;
  }
}

/* -------------------------
   RESPONSIVE: TABLET
------------------------- */

@media (max-width: 900px) {
  .section {
    padding: 85px 0;
  }

  .top-bar-content {
    min-height: 38px;
  }

  .top-bar p {
    display: none;
  }

  .top-links {
    width: 100%;
    justify-content: space-between;
  }

  .nav-container {
    min-height: 74px;
  }

  .menu-btn {
    display: grid;
    place-items: center;
  }

  .nav {
    position: fixed;
    top: 112px;
    left: 0;
    right: 0;
    height: calc(100vh - 112px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 35px 30px;
    background: var(--white);
    transform: translateX(100%);
    transition: transform 0.38s ease;
    overflow-y: auto;
  }

  .nav.active {
    transform: translateX(0);
  }

  .nav a {
    width: 100%;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
    font-size: 1rem;
  }

  .nav a::after {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding-top: 90px;
    padding-bottom: 90px;
  }

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

  .hero-card {
    max-width: 520px;
  }

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

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

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

  .about-grid,
  .technology-grid,
  .appointment-grid,
  .faq-container {
    grid-template-columns: 1fr;
  }

  .about-grid {
    gap: 70px;
  }

  .about-image {
    max-width: 670px;
  }

  .technology-grid {
    gap: 55px;
  }

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

  .team-card:last-child,
  .testimonial-card:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - 14px);
    width: 100%;
    justify-self: center;
  }

  .faq-container {
    gap: 35px;
  }

  .appointment-form {
    max-width: 720px;
  }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-card:last-child {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* -------------------------
   RESPONSIVE: MOBILE
------------------------- */

@media (max-width: 650px) {
  .container {
    width: min(100% - 28px, var(--container-width));
  }

  .section {
    padding: 72px 0;
  }

  .top-bar {
    display: none;
  }

  .nav {
    top: 74px;
    height: calc(100vh - 74px);
  }

  .logo-icon {
    width: 42px;
    height: 42px;
  }

  .logo-text span {
    font-size: 0.59rem;
  }

  .logo-text strong {
    font-size: 1.2rem;
  }

  .header-actions {
    gap: 8px;
  }

  .language-btn {
    width: 39px;
    height: 39px;
  }

  .menu-btn {
    width: 40px;
    height: 40px;
  }

  .hero {
    background:
      linear-gradient(
        180deg,
        rgba(8, 35, 71, 0.91),
        rgba(8, 35, 71, 0.84)
      ),
      url("https://images.unsplash.com/photo-1606811971618-4486d14f3f99?auto=format&fit=crop&w=1000&q=85")
      center / cover no-repeat;
  }

  .hero-content {
    padding-top: 75px;
    padding-bottom: 75px;
    gap: 45px;
  }

  .hero-text h1 {
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .hero-text > p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-features {
    flex-direction: column;
    gap: 13px;
  }

  .hero-card {
    padding: 28px;
  }

  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }

  .trust-item {
    min-height: 125px;
    padding: 20px 12px;
  }

  .trust-item strong {
    font-size: 1.65rem;
  }

  .trust-item span {
    font-size: 0.76rem;
  }

  .services-grid,
  .team-grid,
  .testimonials-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
.gallery-grid {
  grid-template-columns: 1fr;
}

.gallery-card,
.gallery-card img {
  min-height: 330px;
}
  .service-card p {
    min-height: auto;
  }

  .about-image::before {
    inset: 18px -8px -14px 18px;
  }

  .about-image img {
    min-height: 410px;
  }

  .experience-badge {
    right: -5px;
    bottom: -30px;
    width: 170px;
  }

  .about-content {
    margin-top: 25px;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .team-card:last-child,
  .testimonial-card:last-child {
    grid-column: auto;
    max-width: 100%;
  }

  .team-card img {
    height: 360px;
  }

  .technology-section,
  .appointment-section {
    padding: 78px 0;
  }

  .technology-item {
    grid-template-columns: 45px 1fr;
    padding: 20px;
  }

  .technology-item > span {
    width: 43px;
    height: 43px;
  }

  .testimonial-card > p {
    min-height: auto;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .appointment-form {
    padding: 27px 20px;
  }

  .contact-card:last-child {
    grid-column: auto;
  }

  .footer {
    padding-top: 60px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    padding: 22px 0;
    text-align: center;
    gap: 5px;
  }
}

/* -------------------------
   VERY SMALL MOBILE
------------------------- */

@media (max-width: 390px) {
  .logo-text span {
    display: none;
  }

  .hero-text h1 {
    font-size: 2.55rem;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .trust-item {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .experience-badge {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: 15px;
    border-width: 0;
  }
}