@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Barlow+Condensed:wght@400;600;700&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #0B2D6B;
  --primary-dark: #081F4A;
  --accent: #C8102E;
  --accent-hover: #A50D26;
  --white: #FFFFFF;
  --bg: #FFFFFF;
  --bg-soft: #F7F9FC;
  --text: #1A1A2E;
  --text-soft: #6B7280;
  --border: #D1D5DB;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-heading: 'Barlow Condensed', Arial Narrow, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 48px, 1400px);
  margin: 0 auto;
}

.site-header {
  background: var(--primary);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-content {
  min-height: 96px;
  display: flex;
  align-items: center;
}

.logo {
  width: 170px;
  max-width: 100%;
  object-fit: contain;
}

.hero {
  min-height: calc(100vh - 96px);
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at top right, rgba(200,16,46,0.18), transparent 35%),
    linear-gradient(120deg, rgba(11,45,107,0.96), rgba(8,31,74,0.98));
  color: var(--white);
  padding: 7rem 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: 5rem;
  align-items: center;
}

.section-tag {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 850px;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.8rem);
  line-height: 1.05;
  margin-bottom: 2rem;
}

.hero p {
  max-width: 720px;
  color: rgba(255,255,255,0.78);
  font-size: clamp(1rem, 2vw, 1.12rem);
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 3rem;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  overflow: hidden;
  padding: 0.95rem 1.5rem;
  border: 1px solid var(--white);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: 0.3s ease;
  isolation: isolate;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(200,16,46,0.85);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
  z-index: -1;
}

.btn:hover::before {
  transform: scaleX(1);
}

.btn span {
  position: relative;
  z-index: 1;
}

.notice-card {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.16);
  padding: 3rem;
  background: rgba(255,255,255,0.06);
}

.notice-card span {
  display: block;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.65);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.notice-card h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.3rem, 5vw, 4rem);
  line-height: 1;
  margin-bottom: 1.5rem;
}

.notice-card p {
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
}

.contact-section,
.map-section {
  padding: 7rem 0;
}

.contact-section {
  background: var(--bg-soft);
}

.section-header {
  max-width: 760px;
  margin-bottom: 4rem;
}

.section-header.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  line-height: 1.05;
  color: var(--primary);
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-soft);
  font-size: clamp(1rem, 2vw, 1.05rem);
  line-height: 1.7;
}

.contact-grid {
  width: min(100%, 1180px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.contact-item {
  min-width: 0;
  min-height: 190px;
  padding: 2rem;
  border: 1px solid var(--border);
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.contact-item span {
  display: block;
  margin-bottom: 1.5rem;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-item a {
  display: block;
  color: var(--text);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.75;
  overflow-wrap: anywhere;
  transition: color .3s ease;
}

.contact-item a:hover {
  color: var(--accent);
}

.map-wrapper {
  height: 520px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.site-footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-content {
  width: min(100% - 96px, 1400px);
  margin: 0 auto;

  display: flex;
  align-items: flex-start;
  gap: 5rem;

  padding-bottom: 3rem;

  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  width: 170px;
  flex-shrink: 0;
  object-fit: contain;
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-info a {
  display: block;
  width: fit-content;
  color: rgba(255,255,255,0.82);
  line-height: 1.6;
  transition: color .3s ease;
}

.footer-info a:hover {
  color: var(--white);
}

.footer-bottom {
  width: min(100% - 96px, 1400px);
  margin: 0 auto;

  padding-top: 2rem;

  color: rgba(255,255,255,0.4);
  font-size: 0.9rem;
  line-height: 1.5;
}

@media (max-width: 768px) {

  .footer-content {
    width: min(100% - 32px, 1400px);

    flex-direction: column;
    gap: 2rem;
  }

  .footer-bottom {
    width: min(100% - 32px, 1400px);
  }

  .footer-logo {
    width: 140px;
  }
}

@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .notice-card {
    max-width: 650px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    width: min(100%, 720px);
  }

  .contact-item {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .container {
    width: min(100% - 32px, 1400px);
  }

  .header-content {
    min-height: 82px;
  }

  .logo,
  .footer-logo {
    width: 140px;
  }

  .hero {
    min-height: unset;
    padding: 4rem 0;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 12vw, 4rem);
    margin-bottom: 1.5rem;
  }

  .hero p {
    line-height: 1.7;
  }

  .section-tag {
    font-size: 0.7rem;
    letter-spacing: 0.16em;
    margin-bottom: 1.25rem;
  }

  .hero-actions {
    flex-direction: column;
    margin-top: 2rem;
  }

  .btn {
    width: 100%;
    min-height: 52px;
    padding: 0.9rem 1.1rem;
    text-align: center;
  }

  .notice-card {
    max-width: none;
    padding: 1.75rem;
  }

  .notice-card h2 {
    font-size: clamp(2rem, 11vw, 3rem);
  }

  .contact-section,
  .map-section {
    padding: 4rem 0;
  }

  .section-header {
    margin-bottom: 3rem;
  }

  .section-header h2 {
    font-size: clamp(2.2rem, 11vw, 3.3rem);
  }

  .contact-grid {
    gap: 1rem;
  }

  .contact-item {
    padding: 1.5rem;
  }

  .map-wrapper {
    height: 350px;
  }

  .footer-content {
    flex-direction: column;
    gap: 2rem;
    padding-bottom: 3rem;
  }
}

@media (max-width: 420px) {
  .container {
    width: min(100% - 24px, 1400px);
  }

  .hero {
    padding: 3.5rem 0;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 13vw, 3.2rem);
  }

  .map-wrapper {
    height: 320px;
  }
}