/* ============================================================
   KOURITSU AGENCY CO., LTD. — Main Stylesheet v4
   ============================================================ */

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

:root {
  --navy:        #0D1B2A;
  --blue:        #1565C0;
  --blue-mid:    #1976D2;
  --blue-light:  #42A5F5;
  --sky:         #E3F2FD;
  --gold:        #F9A825;
  --gold-light:  #FFD54F;
  --warm-white:  #EEF6FF;
  --card-bg:     #F5FAFF;
  --ink:         #1A1A2E;
  --muted:       #5A6A7A;
  --border:      rgba(21,101,192,0.12);
  --radius-sm:   8px;
  --radius-md:   14px;
  --radius-lg:   20px;
  --radius-pill: 999px;
  --shadow:      0 4px 24px rgba(13,27,42,0.10);
  --shadow-lg:   0 12px 40px rgba(13,27,42,0.15);
  --transition:  0.22s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Zen Kaku Gothic New', 'Noto Serif JP', sans-serif;
  background: var(--warm-white);
  color: var(--ink);
  line-height: 1.75;
  font-size: 15px;
  overflow-x: hidden;
}

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

/* ── NAVIGATION ─────────────────────────────────────────── */
#navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 2rem;
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 300;           /* high enough to always sit above everything */
  gap: 1rem;
  box-shadow: 0 2px 16px rgba(13,27,42,0.35);
}

.logo { display: flex; align-items: center; flex-shrink: 0; text-decoration: none; }
.logo-img { height: 46px; width: auto; }

.nav-links {
  display: flex;
  gap: 1.3rem;
  list-style: none;
  flex: 1;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.78);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  transition: color var(--transition);
  white-space: nowrap;
}

.nav-links a:hover { color: var(--gold-light); }

.nav-cta {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 0.55rem 1.3rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--transition);
  letter-spacing: 0.04em;
  font-family: inherit;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-cta:hover { background: var(--gold-light); }

/* ── HAMBURGER BUTTON ──────────────────────────────────────
   Root cause of "not clickable" on mobile:
   • The button must have position:relative + z-index above the
     mobile-menu so tap events reach it even when menu is closed.
   • Never use pointer-events:none on the button or its parents.
   • Ensure the button has an explicit size / tap target >= 44×44px.
──────────────────────────────────────────────────────────── */
.nav-toggle {
  display: none;            /* shown only on mobile via media query */
  position: relative;
  z-index: 310;             /* above navbar and mobile-menu */
  background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-sm);
  cursor: pointer;
  color: #fff;
  font-size: 1.25rem;
  line-height: 1;
  min-width: 44px;
  min-height: 44px;
  display: none;            /* toggled in media query */
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.nav-toggle:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

/* ── MOBILE MENU ─────────────────────────────────────────── */
.mobile-menu {
  display: none;            /* hidden by default; .open shows it */
  flex-direction: column;
  background: #0a1520;
  border-bottom: 2px solid var(--blue);
  padding: 0.5rem 1.5rem 1rem;
  position: sticky;
  top: 68px;               /* below navbar height */
  z-index: 290;
}

.mobile-menu.open { display: flex; }

.mobile-menu a {
  text-decoration: none;
  color: rgba(255,255,255,0.82);
  font-size: 0.95rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color var(--transition);
  display: block;
}

.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--gold-light); }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(145deg, #F5FBFF 0%, #DDF0FB 50%, var(--navy) 100%);
  overflow: hidden;
  text-align: center;
  padding: 4rem 2rem;
}

.hero::before {
  content: '光立';
  font-family: 'Noto Serif JP', serif;
  font-size: 22rem;
  color: rgba(255,255,255,0.03);
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  line-height: 1;
  pointer-events: none;
  white-space: nowrap;
}

.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at center, rgba(21,101,192,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 2; max-width: 760px; }

.hero-license {
  display: inline-block;
  background: rgba(249,168,37,0.15);
  border: 1px solid rgba(249,168,37,0.45);
  color: #000000;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 1.4rem;
}

/* Logo on dark backgrounds — mix-blend-mode multiply removed white */
.hero-logo {
  height: 320px;
  width: auto;
  margin: 0 auto 1.2rem;
  filter: drop-shadow(0 6px 28px rgba(0,0,0,0.5));
}

.hero-name {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 1.2rem;
}

.hero-tagline { color: rgba(255,255,255,0.82); font-size: 1rem; line-height: 1.8; margin-bottom: 1.5rem; }
.hero-tagline-en { font-size: 0.85rem; opacity: 0.65; display: block; margin-top: 0.3rem; }
.hero-tagline-jp { color: #FFD700; font-weight: 700; }

.hero-contact-bar {
  display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap;
  color: rgba(255,255,255,0.6); font-size: 0.82rem; margin-bottom: 2rem;
}

.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn-primary {
  background: var(--gold); color: var(--navy);
  padding: 0.85rem 2rem; border-radius: var(--radius-pill);
  text-decoration: none; font-size: 0.9rem; font-weight: 700;
  transition: background var(--transition); letter-spacing: 0.05em;
  font-family: inherit; border: none; cursor: pointer; display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); }

.btn-outline {
  border: 2px solid rgba(255,255,255,0.4); color: #fff;
  padding: 0.85rem 2rem; border-radius: var(--radius-pill);
  text-decoration: none; font-size: 0.9rem;
  transition: all var(--transition); letter-spacing: 0.05em;
  font-family: inherit; cursor: pointer; background: transparent; display: inline-block;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: #fff; }

/* ── SHARED SECTION ──────────────────────────────────────── */
.section { padding: 5.5rem 3rem; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-tag { font-size: 0.7rem; letter-spacing: 0.22em; color: var(--blue); margin-bottom: 0.7rem; font-weight: 700; }
.section-title { font-family: 'Noto Serif JP', serif; font-size: 2rem; color: var(--navy); font-weight: 600; }
.section-desc { font-size: 0.9rem; color: var(--muted); margin-top: 0.6rem; }

/* ── GREETING ─────────────────────────────────────────────── */
.greeting-section { background: var(--warm-white); }

.greeting-card {
  display: grid; grid-template-columns: 220px 1fr; gap: 3rem;
  max-width: 960px; margin: 0 auto 3rem;
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.5rem;
  box-shadow: var(--shadow); position: relative; overflow: hidden;
}

.greeting-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--blue-light));
}
.greeting-card-alt::before { background: linear-gradient(90deg, var(--gold), var(--gold-light)); }

.greeting-photo-col { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1rem; }

.greeting-avatar {
  width: 120px; height: 120px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Noto Serif JP', serif; font-size: 3rem; color: #fff; flex-shrink: 0;
}
.greeting-avatar.alt { background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%); color: var(--navy); }

.greeting-position {
  font-size: 0.72rem; letter-spacing: 0.1em; color: var(--blue);
  font-weight: 700; background: var(--sky); padding: 3px 10px; border-radius: var(--radius-pill);
}
.greeting-card-alt .greeting-position { color: #7B5800; background: #FFF8E1; }

.greeting-name { font-size: 0.9rem; font-weight: 700; color: var(--navy); letter-spacing: 0.05em; }
.greeting-name-jp { font-family: 'Noto Serif JP', serif; font-size: 1rem; color: var(--muted); }

.greeting-text-col p { font-size: 0.92rem; color: var(--ink); line-height: 1.9; margin-bottom: 1rem; }
.greeting-text-col p:last-child { margin-bottom: 0; }

/* ── COMPANY PROFILE ─────────────────────────────────────────
   Enhanced gradient — much more visible, with logo watermark
──────────────────────────────────────────────────────────── */
.profile-section {
  position: relative;
  padding: 5.5rem 3rem;
  /* Vivid multi-stop gradient: deep navy → strong blue → navy */
  background: linear-gradient(160deg,
    #061525 0%,
    #0a2a50 25%,
    #0d3d72 50%,
    #0a2a50 75%,
    #061525 100%
  );
  overflow: hidden;
}

/* Large watermark logo behind the table */
.profile-bg-logo {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  width: 52%;
  max-width: 600px;
  pointer-events: none;
  user-select: none;
  opacity: 0.10;        /* subtle but visible against dark bg */
}

.profile-bg-logo img { width: 100%; height: auto; filter: brightness(0) invert(1); }

/* Glowing divider lines top and bottom */
.profile-section::before,
.profile-section::after {
  content: '';
  position: absolute; left: 0; right: 0; height: 3px;
}
.profile-section::before { top: 0; background: linear-gradient(90deg, transparent, var(--blue-light), var(--gold), var(--blue-light), transparent); }
.profile-section::after  { bottom: 0; background: linear-gradient(90deg, transparent, var(--blue-light), var(--gold), var(--blue-light), transparent); }

.profile-section .section-header { position: relative; z-index: 2; }
.profile-section .section-title { color: #fff; }
.profile-section .section-tag   { color: var(--gold-light); }

.profile-table-wrap {
  max-width: 860px; margin: 0 auto;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 8px 48px rgba(0,0,0,0.5);
  position: relative; z-index: 2;
  border: 1px solid rgba(255,255,255,0.10);
}

.profile-table { width: 100%; border-collapse: collapse; background: rgba(255,255,255,0.97); }

.profile-table th, .profile-table td {
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid rgba(21,101,192,0.1);
  font-size: 0.9rem; vertical-align: top; line-height: 1.7;
}

.profile-table th {
  background: var(--navy);
  color: #fff; font-weight: 700; width: 160px;
  white-space: nowrap; letter-spacing: 0.04em;
}

.profile-table tr:last-child th,
.profile-table tr:last-child td { border-bottom: none; }

.profile-table td a { color: var(--blue-mid); text-decoration: none; }
.profile-table td a:hover { text-decoration: underline; }

/* ── CERTIFICATES ─────────────────────────────────────────── */
.certificates-section { background: var(--warm-white); }

.cert-grid {
  display: grid; grid-template-columns: repeat(2,1fr);
  gap: 2rem; max-width: 900px; margin: 0 auto;
}

.cert-card {
  background: var(--card-bg); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.8rem; text-align: center;
  box-shadow: var(--shadow); transition: transform var(--transition), box-shadow var(--transition);
}
.cert-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.cert-label { font-family: 'Noto Serif JP', serif; font-size: 0.95rem; font-weight: 600; color: var(--navy); margin-bottom: 4px; }
.cert-sublabel { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.06em; margin-bottom: 1.2rem; }

.cert-img-link {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius-md); border: 1px solid var(--border);
  cursor: pointer; background: none; padding: 0; width: 100%;
}
.cert-img { width: 100%; height: auto; display: block; transition: transform 0.3s ease; }
.cert-img-link:hover .cert-img { transform: scale(1.02); }

.cert-zoom {
  position: absolute; bottom: 0.8rem; right: 0.8rem;
  background: rgba(13,27,42,0.72); color: #fff;
  font-size: 0.72rem; padding: 4px 10px; border-radius: var(--radius-pill);
}

/* ── PHOTO ALBUM ─────────────────────────────────────────── */
.photos-section { background: var(--navy); }
.photos-section .section-title { color: #fff; }
.photos-section .section-tag   { color: var(--gold-light); }
.photos-section .section-desc  { color: rgba(255,255,255,0.55); }

.photo-album-label {
  text-align: center; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.12em; color: var(--gold-light);
  margin-bottom: 1.2rem;
}

/* Departure grid: masonry-style (same as before) */
.photo-grid-departure {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
  max-width: 1100px; margin: 0 auto;
}

.photo-grid-departure .photo-item:nth-child(1) { grid-column: 1; grid-row: 1 / 3; }
.photo-grid-departure .photo-item:nth-child(2) { grid-column: 2; grid-row: 1; }
.photo-grid-departure .photo-item:nth-child(3) { grid-column: 3; grid-row: 1; }
.photo-grid-departure .photo-item:nth-child(4) { grid-column: 2; grid-row: 2; }
.photo-grid-departure .photo-item:nth-child(5) { grid-column: 3; grid-row: 2; }

/* Arrival grid: same layout as departure (1 tall left + 2×2 right) */
.photo-grid-arrival {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1rem;
  max-width: 1100px; margin: 0 auto;
}

.photo-grid-arrival .photo-item:nth-child(1) { grid-column: 1; grid-row: 1 / 3; }
.photo-grid-arrival .photo-item:nth-child(2) { grid-column: 2; grid-row: 1; }
.photo-grid-arrival .photo-item:nth-child(3) { grid-column: 3; grid-row: 1; }
.photo-grid-arrival .photo-item:nth-child(4) { grid-column: 2; grid-row: 2; }
.photo-grid-arrival .photo-item:nth-child(5) { grid-column: 3; grid-row: 2; }

.photo-item {
  overflow: hidden; border-radius: var(--radius-md);
  border: 2px solid rgba(255,255,255,0.08);
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition);
  background: rgba(255,255,255,0.04);
}

.photo-item:hover { transform: scale(1.03); border-color: rgba(249,168,37,0.55); }

.photo-item img {
  width: 100%; height: 100%; object-fit: cover;
  display: block; min-height: 200px;
}

/* ── LIGHTBOX ─────────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.93);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.lightbox.open { display: flex; }

.lightbox img {
  max-width: 90vw; max-height: 90vh;
  object-fit: contain; border-radius: var(--radius-md);
  box-shadow: 0 8px 48px rgba(0,0,0,0.6);
}

.lightbox-close {
  position: absolute; top: 1.2rem; right: 1.5rem;
  color: #fff; font-size: 2.2rem; cursor: pointer;
  line-height: 1; background: rgba(255,255,255,0.12);
  border: none; width: 48px; height: 48px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  opacity: 0.85; transition: opacity var(--transition), background var(--transition);
}
.lightbox-close:hover { opacity: 1; background: rgba(255,255,255,0.22); }

/* ── PROCESS ─────────────────────────────────────────────── */
.process-section { background: var(--warm-white); }

.process-diagram-wrap {
  max-width: 1000px; margin: 0 auto;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--border);
}
.process-diagram { width: 100%; height: auto; display: block; }

/* ── CONTACT ─────────────────────────────────────────────── */
.contact-section {
  background: linear-gradient(145deg, var(--navy) 0%, #0a3060 100%);
  padding: 5.5rem 3rem;
}

.contact-inner {
  max-width: 1000px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 4rem; align-items: start;
}

.contact-title { font-family: 'Noto Serif JP', serif; font-size: 2rem; color: #fff; font-weight: 600; margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.4rem; margin-bottom: 2rem; }

.contact-detail-item {
  display: flex; gap: 0.9rem; align-items: flex-start;
  font-size: 0.88rem; color: rgba(255,255,255,0.75); line-height: 1.7;
}
.contact-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }
.contact-detail-item strong { display: block; color: var(--gold-light); font-size: 0.75rem; letter-spacing: 0.1em; margin-bottom: 2px; }
.contact-detail-item a { color: rgba(255,255,255,0.8); text-decoration: none; }
.contact-detail-item a:hover { color: var(--gold-light); text-decoration: underline; }

.map-link {
  display: inline-block; color: var(--gold-light); text-decoration: none;
  font-size: 0.85rem; font-weight: 600; letter-spacing: 0.06em;
  border: 1px solid rgba(249,168,37,0.3); padding: 0.5rem 1.2rem;
  border-radius: var(--radius-pill); transition: all var(--transition);
}
.map-link:hover { background: rgba(249,168,37,0.1); border-color: var(--gold-light); }

.contact-form {
  background: var(--card-bg); border-radius: var(--radius-lg);
  padding: 2.2rem; display: flex; flex-direction: column; gap: 1.1rem;
  box-shadow: var(--shadow-lg);
}

.form-group { display: flex; flex-direction: column; gap: 5px; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--navy); letter-spacing: 0.04em; }
.req { color: var(--blue); }

.contact-form input, .contact-form textarea {
  width: 100%; padding: 0.8rem 1rem; border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); background: #ffffff;
  color: var(--ink); font-size: 0.9rem; font-family: inherit;
  outline: none; transition: border-color var(--transition);
}
.contact-form input:focus, .contact-form textarea:focus { border-color: var(--blue); background: #fff; }
.contact-form textarea { resize: vertical; min-height: 120px; }

.form-submit {
  background: var(--blue); color: #fff; border: none;
  padding: 1rem; border-radius: var(--radius-pill);
  font-size: 0.95rem; font-weight: 700; font-family: inherit;
  cursor: pointer; transition: background var(--transition); letter-spacing: 0.05em; margin-top: 0.3rem;
}
.form-submit:hover { background: var(--blue-mid); }
.form-success { display: none; color: var(--blue); font-size: 0.88rem; text-align: center; font-weight: 600; }

/* ── FOOTER ──────────────────────────────────────────────── */
.site-footer {
  background: #060E1A; padding: 2.5rem 3rem;
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem; text-align: center;
}

.footer-logo-wrap { display: flex; align-items: center; gap: 1rem; }
.footer-logo-img { height: 52px; width: auto; }
.footer-name { font-size: 0.9rem; font-weight: 700; color: rgba(255,255,255,0.8); letter-spacing: 0.06em; }
.footer-license { font-size: 0.7rem; color: var(--gold); letter-spacing: 0.1em; margin-top: 2px; }

.footer-links { display: flex; gap: 1.5rem; list-style: none; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: rgba(255,255,255,0.4); text-decoration: none; font-size: 0.78rem; transition: color var(--transition); }
.footer-links a:hover { color: rgba(255,255,255,0.8); }

.footer-contact { display: flex; gap: 2rem; color: rgba(255,255,255,0.4); font-size: 0.78rem; flex-wrap: wrap; justify-content: center; }
.footer-copy { color: rgba(255,255,255,0.2); font-size: 0.72rem; }

/* ── REVEAL ANIMATION ─────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 960px) {
  .cert-grid { grid-template-columns: 1fr; max-width: 480px; }
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .photo-grid-arrival { grid-template-columns: 1fr 1fr; }
  .photo-grid-arrival .photo-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
  .photo-grid-arrival .photo-item:nth-child(2) { grid-column: 1; grid-row: 2; }
  .photo-grid-arrival .photo-item:nth-child(3) { grid-column: 2; grid-row: 2; }
  .photo-grid-arrival .photo-item:nth-child(4) { grid-column: 1; grid-row: 3; }
  .photo-grid-arrival .photo-item:nth-child(5) { grid-column: 2; grid-row: 3; }
  .photo-grid-departure { grid-template-columns: 1fr 1fr; }
  .photo-grid-departure .photo-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
  .photo-grid-departure .photo-item:nth-child(2) { grid-column: 1; grid-row: 2; }
  .photo-grid-departure .photo-item:nth-child(3) { grid-column: 2; grid-row: 2; }
  .photo-grid-departure .photo-item:nth-child(4) { grid-column: 1; grid-row: 3; }
  .photo-grid-departure .photo-item:nth-child(5) { grid-column: 2; grid-row: 3; }
  .profile-bg-logo { width: 70%; opacity: 0.07; }
}

@media (max-width: 768px) {
  #navbar { padding: 0.75rem 1.2rem; }

  /* Hide desktop nav, show hamburger */
  .nav-links { display: none !important; }
  .nav-cta   { display: none; }
  .nav-toggle { display: flex; }   /* show the button */

  .section { padding: 3.5rem 1.2rem; }
  .profile-section, .contact-section { padding: 3.5rem 1.2rem; }
  .photos-section { padding: 3.5rem 1.2rem; }

  .greeting-card { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; padding: 1.8rem 1.2rem; }
  .greeting-photo-col { flex-direction: row; justify-content: center; align-items: center; gap: 1rem; text-align: left; }

  .hero-contact-bar { flex-direction: column; gap: 0.4rem; }
  .hero::before { font-size: 10rem; }

  .photo-grid-arrival { grid-template-columns: 1fr 1fr; }
  .photo-grid-arrival .photo-item:nth-child(1) { grid-column: 1 / 3; grid-row: 1; }
  .photo-grid-arrival .photo-item:nth-child(2) { grid-column: 1; grid-row: 2; }
  .photo-grid-arrival .photo-item:nth-child(3) { grid-column: 2; grid-row: 2; }
  .photo-grid-arrival .photo-item:nth-child(4) { grid-column: 1; grid-row: 3; }
  .photo-grid-arrival .photo-item:nth-child(5) { grid-column: 2; grid-row: 3; }

  .site-footer { padding: 2rem 1.2rem; }

  .profile-table th { width: 110px; font-size: 0.8rem; padding: 0.85rem 0.9rem; }
  .profile-table td { font-size: 0.85rem; padding: 0.85rem 0.9rem; }

  .profile-bg-logo { display: none; } /* too cramped on mobile */
}

@media (max-width: 480px) {
  .photo-grid-arrival { grid-template-columns: 1fr 1fr; }
  .photo-grid-arrival .photo-item:nth-child(1) { grid-column: 1 / 3; grid-row: auto; }
  .photo-grid-departure .photo-item:nth-child(1) { grid-column: 1 / 3; }
  .hero-logo { height: 160px; }
  .section-title { font-size: 1.6rem; }
  .cert-grid { max-width: 100%; }
}
