:root{
  --bg:#f7f3ec;
  --bg-2:#efe7db;
  --panel:#fffdf9;
  --panel-soft:#fbf7f1;
  --line:#ded2c2;
  --line-soft:#ece3d8;
  --text:#4d4135;
  --muted:#75685b;
  --heading:#2c221b;
  --accent:#a78657;
  --accent-deep:#856640;
  --shadow:0 18px 44px rgba(55,39,24,.08);
  --shadow-soft:0 10px 24px rgba(55,39,24,.06);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:"Helvetica Neue",Arial,sans-serif;
  background:linear-gradient(180deg,var(--bg) 0%, var(--bg-2) 100%);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
a{color:inherit}
img{display:block;max-width:100%}
.brand-mark{
  width:min(1220px,calc(100% - 40px));
  margin:22px auto 0;
  font-family:Georgia,"Times New Roman",serif;
  font-size:19px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:var(--accent-deep);
}
.brand-mark a{text-decoration:none}
.home-body{
  background:
    radial-gradient(circle at top, rgba(255,255,255,.88), rgba(255,255,255,0) 30%),
    linear-gradient(180deg,#f8f4ed 0%, #f1eae0 100%);
}
.page-bg{min-height:100vh;padding:18px 20px 62px}
.sheet{
  width:min(1220px,100%);
  margin:0 auto;
  background:rgba(255,253,249,.92);
  border:1px solid rgba(189,170,145,.3);
  border-radius:30px;
  box-shadow:var(--shadow);
  padding:34px 34px 28px;
}
.hero{text-align:center;padding:30px 24px 34px;border-bottom:1px solid var(--line-soft)}
.hero h1{
  max-width:820px;margin:0 auto 18px;
  font-family:Georgia,"Times New Roman",serif;
  font-size:clamp(42px,6vw,68px);line-height:1.02;letter-spacing:-.03em;
  color:var(--heading);font-weight:500;
}
.hero-subtitle{margin-bottom:14px;font-size:12px;letter-spacing:.26em;text-transform:uppercase;color:var(--accent-deep)}
.hero-text{width:min(700px,100%);margin:0 auto;font-size:16px;line-height:1.85;color:var(--muted)}
.cta{
  display:inline-flex;align-items:center;justify-content:center;
  margin-top:22px;padding:14px 28px;border-radius:999px;
  background:var(--accent);color:#fff;text-decoration:none;border:none;
  font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  box-shadow:0 12px 24px rgba(167,134,87,.25);
}
.gallery-section{padding:30px 0 0}
.section-rule{display:flex;align-items:center;justify-content:center;gap:18px;text-align:center;color:var(--accent-deep);font-family:Georgia,"Times New Roman",serif}
.section-rule::before,.section-rule::after{content:"";flex:1;height:1px;background:linear-gradient(90deg, rgba(189,170,145,0), rgba(189,170,145,.85), rgba(189,170,145,0))}
.section-rule-top{font-size:28px;line-height:1.2;margin:0 0 28px}
.section-rule-middle{font-size:15px;color:var(--muted);margin:30px 0 4px}
.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.card-link{display:block;text-decoration:none;color:inherit}
.card{
  background:var(--panel);
  border:1px solid rgba(207,191,173,.7);
  border-radius:26px;
  overflow:hidden;
  box-shadow:var(--shadow-soft);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card-link:hover .card{transform:translateY(-5px);box-shadow:0 18px 38px rgba(55,39,24,.1);border-color:rgba(167,134,87,.55)}
.image-placeholder{height:230px;background:#eadfce;overflow:hidden}
.image-placeholder img{width:100%;height:100%;object-fit:cover}
.gallery-grid .card-link:nth-child(1) .image-placeholder img{object-position:center 58%}
.gallery-grid .card-link:nth-child(2) .image-placeholder img{object-position:center 52%}
.gallery-grid .card-link:nth-child(3) .image-placeholder img{object-position:center 48%}
.gallery-grid .card-link:nth-child(4) .image-placeholder img{object-position:center 56%}
.gallery-grid .card-link:nth-child(5) .image-placeholder img{object-position:center 49%}
.gallery-grid .card-link:nth-child(6) .image-placeholder img{object-position:center 58%}
.country{padding:18px 22px 22px;background:linear-gradient(180deg,rgba(255,253,249,.98),rgba(249,244,237,.98));font-family:Georgia,"Times New Roman",serif;font-size:18px;color:var(--heading)}
.content-grid{display:grid;grid-template-columns:1fr 1fr;gap:26px;padding:42px 8px 10px}
.content-grid article{background:rgba(255,251,246,.82);border:1px solid rgba(219,207,192,.7);border-radius:24px;padding:28px 28px 18px}
.content-grid article h2{margin:0 0 12px;font-family:Georgia,"Times New Roman",serif;font-size:28px;font-weight:500;color:var(--heading)}
.content-grid article p{margin:0 0 12px;font-size:14px;line-height:1.85;color:var(--muted)}
.site-footer{padding:16px 8px 4px}
.footer-line{text-align:center;font-family:Georgia,"Times New Roman",serif;color:var(--accent-deep);font-size:18px;line-height:1.6}
.footer-links{width:min(1220px,100%);margin:18px auto 0;text-align:center;font-size:14px;color:var(--muted)}
.footer-links a,.footer a,.legal-content a{text-decoration:none;color:var(--accent-deep)}
.footer-links a:hover,.footer a:hover,.legal-content a:hover{text-decoration:underline}

.subpage-body{
  background:
    radial-gradient(1100px 440px at 50% 0%, rgba(255,255,255,.9), rgba(255,255,255,0) 70%),
    linear-gradient(180deg,#f8f4ed 0%, #f1e9de 100%);
}
.page{width:min(1140px,calc(100vw - 40px));margin:0 auto;padding:36px 0 54px}
.back-home{display:inline-flex;align-items:center;gap:10px;margin:0 0 18px;color:var(--accent-deep);text-decoration:none;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.page-hero{text-align:center;margin:12px 0 34px}
.page-hero h1{margin:0 0 14px;font-family:Georgia,"Times New Roman",serif;font-size:clamp(42px,5vw,64px);line-height:1.02;letter-spacing:-.03em;color:var(--heading);font-weight:500}
.page-hero p{width:min(840px,94%);margin:0 auto;font-size:16px;line-height:1.9;color:var(--muted)}
.cards{display:grid;gap:18px}
.city-card{
  display:grid;
  grid-template-columns:220px minmax(0,1fr);
  align-items:stretch;
  gap:0;
  background:rgba(255,251,246,.96);
  border:1px solid rgba(214,200,182,.82);
  border-radius:28px;
  overflow:hidden;
  box-shadow:var(--shadow-soft);
}
.media-placeholder{
  background:#eadfce;
  min-height:166px;
  aspect-ratio:302 / 166;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.city-card .media-placeholder img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
}
.content{
  padding:22px 26px 20px;
  background:rgba(255,251,246,.98);
  position:relative;
  z-index:1;
}
.content h2{margin:0 0 10px;font-family:Georgia,"Times New Roman",serif;font-size:26px;line-height:1.05;color:var(--heading);font-weight:500}
.content p{margin:0;font-size:15px;line-height:1.8;color:var(--muted)}
.closing{margin:32px 4px 16px;font-size:14px;line-height:1.9;color:var(--muted)}
.footer{text-align:center;color:var(--muted);font-size:13px;line-height:2;padding-top:10px}
.legal-page{max-width:980px}
.legal-content{background:rgba(255,251,246,.94);border:1px solid rgba(214,200,182,.82);border-radius:28px;padding:30px 34px;box-shadow:var(--shadow-soft)}
.legal-content p{margin:0 0 14px;font-size:15px;line-height:1.9;color:var(--muted)}

.city-card:nth-child(1) .media-placeholder img{object-position:center 58%}
.city-card:nth-child(2) .media-placeholder img{object-position:center 54%}
.city-card:nth-child(3) .media-placeholder img{object-position:52% 46%}
.city-card:nth-child(4) .media-placeholder img{object-position:center 50%}
.city-card:nth-child(5) .media-placeholder img{object-position:center 48%}

@media (max-width:1080px){
  .sheet{padding:26px 22px 24px}
  .gallery-grid{gap:18px}
  .image-placeholder{height:206px}
  .content-grid{gap:18px}
}
@media (max-width:860px){
  .brand-mark{width:calc(100% - 28px);margin-top:18px;font-size:17px}
  .page-bg{padding:14px 14px 40px}
  .sheet{border-radius:24px}
  .hero{padding:22px 6px 26px}
  .gallery-grid,.content-grid{grid-template-columns:1fr}
  .page{width:calc(100vw - 24px);padding-top:24px}
  .cards{gap:16px}
  .city-card{display:flex;flex-direction:column;border-radius:24px}
  .city-card .media-placeholder{
    min-height:auto;
    aspect-ratio:302 / 166;
    border-bottom:1px solid rgba(214,200,182,.72);
  }
  .content{padding:18px 18px 20px}
  .content h2{font-size:24px;line-height:1.1;margin-bottom:10px}
  .content p{font-size:14px;line-height:1.7}
  .legal-content{padding:24px 22px}
}


/* Fixed equal-height internal page cells with clipped overflow */
.cards{
  display:grid;
  gap:18px;
}
.city-card{
  min-height: 196px;
}
.city-card .media-placeholder{
  height: 196px;
  min-height: 196px;
}
.city-card .content{
  height: 196px;
  box-sizing: border-box;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.city-card .content h2{
  min-height: 34px;
  max-height: 34px;
  overflow: hidden;
}
.city-card .content p{
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  line-height: 1.8;
  max-height: calc(1.8em * 6);
}


/* Mobile fix: allow card text to expand instead of clipping */
@media (max-width: 768px) {
  .city-card,
  .legal-card {
    min-height: auto !important;
    height: auto !important;
  }

  .city-card .media-placeholder,
  .legal-card .media-placeholder {
    height: auto !important;
    min-height: auto !important;
  }

  .city-card .content,
  .legal-card .content {
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .city-card .content h2,
  .legal-card .content h2 {
    min-height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  .city-card .content p,
  .legal-card .content p {
    overflow: visible !important;
    display: block !important;
    -webkit-line-clamp: unset !important;
    -webkit-box-orient: unset !important;
    max-height: none !important;
    white-space: normal !important;
  }
}
