:root {
  --navy: #0c1226;
  --navy-soft: #13213d;
  --gold: #c99a24;
  --paper: #f3f4f6;
  --panel: #ffffff;
  --muted: #5f6b7a;
  --line: #d8dde5;
  --shadow: 0 18px 45px rgba(12, 18, 38, 0.08);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--navy);
  background: var(--paper);
  line-height: 1.65;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(12, 18, 38, 0.98);
  border-bottom: 3px solid var(--gold);
}

.nav-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #fff;
  text-decoration: none;
  min-width: 0;
}

.brand img {
  width: 86px;
  height: auto;
}

.brand span {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
  letter-spacing: 0;
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: #fff;
}

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

.main-nav a,
.dropdown-toggle {
  padding: 10px 12px;
  color: #fff;
  text-decoration: none;
  font: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.main-nav a:hover,
.dropdown-toggle:hover,
.main-nav a:focus-visible,
.dropdown-toggle:focus-visible {
  color: var(--gold);
  outline: none;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  right: 0;
  width: 280px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  display: none;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu,
.dropdown.open .dropdown-menu {
  display: grid;
}

.dropdown-menu a {
  color: var(--navy);
  padding: 10px 12px;
  border-radius: 6px;
}

.dropdown-menu a:hover {
  color: var(--navy);
  background: #eef1f5;
}

.hero {
  min-height: calc(100vh - 96px);
  display: grid;
  align-items: center;
  position: relative;
  background:
    linear-gradient(90deg, rgba(12, 18, 38, 0.88), rgba(12, 18, 38, 0.46)),
    url("hero-estudio.png") center/cover no-repeat;
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background: linear-gradient(180deg, transparent, var(--paper));
}

.hero-inner,
.section-inner {
  width: min(1120px, calc(100% - 44px));
  margin: 0 auto;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 64px 0 120px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 14px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.15;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 840px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 7vw, 82px);
}

.hero .slogan {
  margin: 18px 0 0;
  max-width: 780px;
  font-size: clamp(25px, 3.4vw, 44px);
  font-weight: 700;
}

.hero p {
  max-width: 700px;
  margin: 22px 0 0;
  font-size: 19px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid var(--gold);
  border-radius: 6px;
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
}

.button.secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
}

.button.outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.section {
  padding: 82px 0;
}

.section.alt {
  background: #e9edf2;
}

.section-title {
  max-width: 760px;
  margin-bottom: 30px;
}

.section-title h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 50px);
}

.section-title p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.two-col {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 46px;
  align-items: center;
}

.content-block {
  font-size: 18px;
}

.content-block p:first-child {
  margin-top: 0;
}

.feature-list {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.feature-list li {
  padding: 10px 12px;
  border-left: 4px solid var(--gold);
  background: rgba(255, 255, 255, 0.62);
}

.image-slot {
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(12, 18, 38, 0.9), rgba(19, 33, 61, 0.74)),
    url("hero-estudio.png") center/cover no-repeat;
  box-shadow: var(--shadow);
}

.service-grid,
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.news-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(12, 18, 38, 0.06);
  overflow: hidden;
}

.service-card {
  padding: 24px;
}

.service-card h3,
.news-card h3 {
  font-size: 24px;
}

.service-card p,
.news-card p {
  color: var(--muted);
}

.service-card a,
.news-card a {
  color: var(--navy);
  font-weight: 700;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

.news-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.news-card-body {
  padding: 18px;
}

.page-hero {
  padding: 72px 0 46px;
  background: linear-gradient(135deg, var(--navy), var(--navy-soft));
  color: #fff;
  border-bottom: 3px solid var(--gold);
}

.page-hero h1 {
  max-width: 900px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(38px, 6vw, 68px);
}

.page-hero p {
  max-width: 760px;
  margin: 18px 0 0;
  font-size: 19px;
}

.service-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 42px;
  align-items: start;
}

.service-main {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 44px);
}

.service-main h2 {
  margin-top: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 34px;
}

.service-main ul {
  padding-left: 20px;
}

.service-main li {
  margin: 8px 0;
}

.service-visual {
  min-height: 260px;
  margin: 30px 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(120deg, rgba(12, 18, 38, 0.9), rgba(201, 154, 36, 0.25)),
    url("../assets/hero-estudio.png") center/cover no-repeat;
}

.contact-panel {
  position: sticky;
  top: 120px;
  padding: 24px;
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
}

.contact-panel h2,
.contact-panel h3 {
  color: #fff;
}

.contact-panel a {
  color: #fff;
  text-decoration-color: var(--gold);
  text-underline-offset: 4px;
}

.contact-list {
  list-style: none;
  padding: 0;
  margin: 18px 0;
}

.contact-list li {
  margin: 10px 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 700;
}

input,
textarea {
  width: 100%;
  border: 1px solid #c7ced8;
  border-radius: 6px;
  padding: 12px 13px;
  font: inherit;
  color: var(--navy);
  background: #fff;
}

textarea {
  min-height: 170px;
  resize: vertical;
}

input:focus,
textarea:focus {
  outline: 3px solid rgba(201, 154, 36, 0.24);
  border-color: var(--gold);
}

.form-message {
  margin-top: 14px;
  color: var(--navy);
  font-weight: 700;
}

.article-meta {
  margin: 10px 0 0;
  color: var(--muted);
}

.article-image {
  width: 100%;
  margin: 0 0 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.article-body h2 {
  margin-top: 28px;
}

.site-footer {
  padding: 34px 22px;
  background: var(--navy);
  color: #fff;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

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

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    padding: 12px 22px 20px;
    background: var(--navy);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .main-nav.open {
    display: grid;
  }

  .dropdown-menu {
    position: static;
    width: 100%;
    margin-top: 4px;
    box-shadow: none;
  }

  .two-col,
  .service-layout,
  .service-grid,
  .news-grid {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    position: static;
  }
}

@media (max-width: 620px) {
  .brand img {
    width: 62px;
  }

  .brand span {
    font-size: 16px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 54px 0 88px;
  }

  .section {
    padding: 58px 0;
  }

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